[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. Signed-off-by: Hiroshige Umino hiroshig...@gmail.com --- builtin

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

2013-08-16 Thread Hiroshige Umino
Junio C Hamano gits...@pobox.com wrote: Thomas Rast tr...@inf.ethz.ch writes: Hiroshige Umino hiroshig...@gmail.com writes: 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

[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 Umino hiroshig...@gmail.com --- builtin/revert.c