[PATCH v2] cherry-pick: allow "-" as abbreviation of '@{-1}'

2013-09-05 Thread Hiroshige Umino
"-" abbreviation is handy for "cherry-pick" like "checkout" and "merge". It's also good for uniformity that a "-" stands as the name of the previous branch where a branch name is accepted and it could not mean any other things like stdin.

Re: [PATCH] cherry-pick: allow "-" as abbreviation of '@{-1}'

2013-08-16 Thread Hiroshige Umino
Junio C Hamano wrote: > Thomas Rast writes: > >> Hiroshige Umino writes: >> >>> As "git cherry-pick -" or "git merge -" is convenient to >>> switch back to or merge the previous branch, >>> "git cherry-pick -" is abbrev

[PATCH] cherry-pick: allow "-" as abbreviation of '@{-1}'

2013-08-02 Thread Hiroshige Umino
As "git cherry-pick -" or "git merge -" is convenient to switch back to or merge the previous branch, "git cherry-pick -" is abbreviation of "git cherry-pick @{-1}" to pick up a commit from the previous branch conveniently. Signed-off-by: Hiroshige Umin