git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Since 2.7.0 git branch displays symbolic references as ref -> ref instead of ref -> branch
@ 2016-04-03  2:54 Phil Sainty
  2016-04-03  4:14 ` [PATCH] branch: fix shortening of non-remote symrefs Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Phil Sainty @ 2016-04-03  2:54 UTC (permalink / raw)
  To: git

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:

$ PATH=~/git/git-2.7.0:$PATH git branch
   m -> m
* master


Still wrong in current version 2.8.0:

$ PATH=~/git/git-2.8.0:$PATH git branch
   m -> m
* master



As the new output isn't very useful, I assume this is an
unintentional bug/regression.

The 2.6.6 output has been used since at least version 1.7.12.4
(when I first started making use of this ability).


-Phil

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-05  6:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-03  2:54 Since 2.7.0 git branch displays symbolic references as ref -> ref instead of ref -> branch Phil Sainty
2016-04-03  4:14 ` [PATCH] branch: fix shortening of non-remote symrefs Jeff King
2016-04-05  6:21   ` Karthik Nayak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).