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

2013-09-05 Thread Junio C Hamano
Hiroshige Umino writes: > "-" 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: Hiros

[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 --- builtin/revert.c |