When a pull-request fails, don't lose the existing message. #398

Closed
frankshearar opened this Issue Sep 10, 2013 · 2 comments

Comments

Projects
None yet
2 participants

Sometimes I use pull-request and for whatever reason (mis-spelling the base repository, usually) the command fails.

Usually I've just spent an age writing out a decent title and commit message for the PR. What would be really great is if hub stored the issue title/body so that I can simply try the command again, with the correct repository name.

(I think this means either not overwriting the contents of .git/PULLREQ_EDITMSG, or removing same in the event of a successful pull-request and some extra conditional logic.)

Member

mislav commented Sep 10, 2013

Already done, soon to be released! a53f028

Dup of #178

@mislav mislav closed this Sep 10, 2013

Fantastic! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment