Re: [PATCH] branch: fix shortening of non-remote symrefs

2016-04-05 Thread Karthik Nayak
Hello, On Sun, Apr 3, 2016 at 9:44 AM, Jeff King wrote: > On Sun, Apr 03, 2016 at 02:54:22PM +1200, Phil Sainty wrote: > >> Given the following symbolic reference: >> >> $ git symbolic-ref refs/heads/m refs/heads/master >> >> >> Correct in 2.6.6: >> >> $ PATH=~/git/git-2.6.6:$PATH

[PATCH] branch: fix shortening of non-remote symrefs

2016-04-02 Thread Jeff King
On Sun, Apr 03, 2016 at 02:54:22PM +1200, Phil Sainty wrote: > Given the following symbolic reference: > > $ git symbolic-ref refs/heads/m refs/heads/master > > > Correct in 2.6.6: > > $ PATH=~/git/git-2.6.6:$PATH git branch > m -> master > * master > > > Wrong in 2.7.0: > > $