Diffusion hub 800688567ef8

Update hub to 2.6.0

Authored by der_eismann on Dec 6 2018, 11:00 PM.


Update hub to 2.6.0


  • Use "scissors" line to delineate comments in editable messages instead of stripping away lines that start with #.
  • New command hub issue show <NUMBER>
  • Add hub release show --format=<FORMAT> functionality
  • hub pr list --format=%rs lists requested reviewers
  • Add support for communicating with GitHub Enterprise over Unix socket
  • Have ci-status also query Checks API


  • Do not pass --cmd to vi editor to ensure compatibility with older vi
  • Simplify cherry-picking commits from pull request URLs
  • Allow single-character branches/tag names in hub compare
  • Fix hub compare for Enterprise when <USER> is specified
  • Support remote add -t BRANCH argument
  • Bash shell completion fixes for git 2.18
  • Documentation fixes
  • hub issue create: ignore the .github/ISSUE_TEMPLATE directory instead of crashing
  • hub pull-request: avoid re-requesting reviewers in case of CODEOWNERS
  • hub ci-status: handle cases when Checks API is unavailable, like older GitHub Enterprise
  • Handle HTTP 422 message format from server response
  • Ignore crash for malformed ~/.config/hub file
  • Clarify hub init -g documentation that it doesn't imply hub create
  • hub clone: add more documentation about git protocol used
  • Prevent hub create setting a public upstream when creating a private repo
  • Fix hub create in place of a renamed repo
  • Fix hub release create/edit/delete when there are multiple git remotes
  • Auto-detect private/pushable repos in hub remote add
  • Fix hub ci-status exit code when there is only Checks
  • Allow hub compare <RANGE> even if not on any branch
  • Ensure consistent sort direction when listing issues, PRs
  • Match requested team names by slug instead of name in hub pull-request -r <TEAM>

Test Plan:

  • Run hub --version
  • List issues of a repository hub issue

Reviewers: Triage Team, JoshStrobl

Reviewed By: Triage Team, JoshStrobl

Differential Revision:


JoshStroblDec 6 2018, 11:01 PM
JoshStroblDec 6 2018, 11:01 PM
Triage Team
Differential Revision
D4560: Update hub to 2.6.0
R1417:49c197bd6aed: Update to 2.4.0
tag: hub-2.6.0-4