mislav / hub

A command-line tool that makes git easier to use with GitHub.
https://hub.github.com/
MIT License
22.83k stars 2.19k forks source link

pull-request with single commit and different base #512

Closed ScotterC closed 10 years ago

ScotterC commented 10 years ago

When making a pull-request with a single commit, it'll copy the commit message and use that for the pull-request. This is awesome. However, if you designate the base with -b the message won't be there. Not so awesome.

git pull-request has message. :+1:

git pull-request -b remote:branch doesn't have message :-1:

git version 1.8.3.1 hub version 1.10.6

mislav commented 10 years ago

Upgrade to hub 1.12 and try git pull-request -b owner:branch or just -b branch, but not -b remote:branch. The last one was never supposed to work since the colon-notation uses an optional owner component (GitHub username/organization) and not the git remote name.

ScotterC commented 10 years ago

Thanks for the quick response @mislav. My owner and remote had the same name, so it was actually a moot point there.

Upgraded to hub 1.12 and still no dice on the message being pulled in.

EDIT. Wait I'm wrong. It worked that time but doesn't work if the branch hasn't been pushed yet :)

ScotterC commented 10 years ago

Thanks!