git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Haggerty <mhagger@alum.mit.edu>
To: Junio C Hamano <gitster@pobox.com>
Cc: git discussion list <git@vger.kernel.org>
Subject: "HEAD -> branch" decoration doesn't work with "--decorate=full"
Date: Wed, 13 May 2015 15:11:49 +0200	[thread overview]
Message-ID: <55534D95.60609@alum.mit.edu> (raw)

Hi,

The new-style "HEAD -> branch" style decoration doesn't work when
"--decorate=full" is used:

> $ bin-wrappers/git show --oneline --decorate
> c518059 (HEAD -> master, gitster/master) Merge branch 'maint'
> 
> $ bin-wrappers/git show --oneline --decorate=full
> c518059 (HEAD, refs/remotes/gitster/master, refs/heads/master) Merge branch 'maint'

I would have expected the second invocation to show "HEAD ->
refs/heads/master".

Was that an oversight or a conscious decision?

Michael

-- 
Michael Haggerty
mhagger@alum.mit.edu

             reply	other threads:[~2015-05-13 13:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13 13:11 Michael Haggerty [this message]
2015-05-13 14:51 ` "HEAD -> branch" decoration doesn't work with "--decorate=full" Junio C Hamano
2015-05-13 15:26   ` Michael J Gruber
2015-05-13 17:11 ` Junio C Hamano
2015-05-13 17:13   ` Junio C Hamano
2015-05-13 19:40     ` [PATCH 2/2] log: do not shorten decoration names too early Junio C Hamano
2015-05-14  6:33       ` Jeff King
2015-05-14 17:37         ` Junio C Hamano
2015-05-14 17:49           ` Jeff King
2015-05-14 18:01             ` Junio C Hamano
2015-05-14 18:10               ` Jeff King
2015-05-14 21:49           ` Junio C Hamano
2015-05-14 21:54             ` Jeff King
2015-05-14 22:25               ` Junio C Hamano
2015-05-14 22:33                 ` Jeff King
2015-05-22 21:21                   ` Junio C Hamano
2015-05-22 21:38                     ` Jeff King

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=55534D95.60609@alum.mit.edu \
    --to=mhagger@alum.mit.edu \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /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).