hub: Give better error messages on pull-request -i

$ hub pull-request -i 5 -b foo/bar
Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "issue": "5"

What I’d like it to say is something like “bad base: missing branch”, because I left :master off the base.

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 23 (5 by maintainers)

Commits related to this issue

Most upvoted comments

The hub pull-request -i deprecation warning has been removed https://github.com/github/hub/releases/tag/v2.7.0