Re: Using "-" for "previous branch" failing with rebase

2014-03-18 Thread Junio C Hamano
Tim Chase writes: > On 2014-03-16 23:37, Junio C Hamano wrote: >> Tim Chase writes: >> >> > Is this just an interface inconsistency or is there a some >> > technical reason this doesn't work (or, has it been >> > addressed/fixed, and just not pulled into Debian Stable's >> > 1.7.10.4 version of

Re: Using "-" for "previous branch" failing with rebase

2014-03-17 Thread Tim Chase
On 2014-03-16 23:37, Junio C Hamano wrote: > Tim Chase writes: > > > Is this just an interface inconsistency or is there a some > > technical reason this doesn't work (or, has it been > > addressed/fixed, and just not pulled into Debian Stable's > > 1.7.10.4 version of git)? > > It is merely tha

Re: Using "-" for "previous branch" failing with rebase

2014-03-16 Thread Junio C Hamano
Tim Chase writes: > Is this just an interface inconsistency or is there a some technical > reason this doesn't work (or, has it been addressed/fixed, and just > not pulled into Debian Stable's 1.7.10.4 version of git)? It is merely that nobody thought "rebase" would benefit from such a short-han

Using "-" for "previous branch" failing with rebase

2014-03-15 Thread Tim Chase
I recently learned that there are several places where git allows use of "-" to refer to the previous branch, e.g. git checkout -b dev # hack, hack git checkout master git merge - git checkout - However, it doesn't seem to understand "-" in the context of a rebase: git checkout branc