git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: git@vger.kernel.org
Subject: Since 2.7.0 git branch displays symbolic references as ref -> ref instead of ref -> branch
Date: Sun, 3 Apr 2016 14:54:22 +1200	[thread overview]
Message-ID: <570085DE.9000002@orcon.net.nz> (raw)

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

             reply	other threads:[~2016-04-03  3:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-03  2:54 Phil Sainty [this message]
2016-04-03  4:14 ` [PATCH] branch: fix shortening of non-remote symrefs Jeff King
2016-04-05  6:21   ` Karthik Nayak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=570085DE.9000002@orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).