From: Felipe Contreras <felipe.contreras@gmail.com>
To: git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>, Jeff King <peff@peff.net>,
Felipe Contreras <felipe.contreras@gmail.com>
Subject: [PATCH 2/3] Prettify log decorations even more
Date: Thu, 14 May 2009 00:22:05 +0300 [thread overview]
Message-ID: <1242249726-8514-3-git-send-email-felipe.contreras@gmail.com> (raw)
In-Reply-To: <1242249726-8514-2-git-send-email-felipe.contreras@gmail.com>
"tag: v1.6.2.5" looks much better than "tag: refs/tags/v1.6.2.5".
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
log-tree.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/log-tree.c b/log-tree.c
index 5bd29e6..59d63eb 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -25,6 +25,7 @@ static int add_ref_decoration(const char *refname, const unsigned char *sha1, in
struct object *obj = parse_object(sha1);
if (!obj)
return 0;
+ refname = prettify_refname(refname);
add_name_decoration("", refname, obj);
while (obj->type == OBJ_TAG) {
obj = ((struct tag *)obj)->tagged;
--
1.6.3.1
next prev parent reply other threads:[~2009-05-13 21:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 21:22 [PATCH 0/3] log: prettier decorations Felipe Contreras
2009-05-13 21:22 ` [PATCH 1/3] Change prettify_ref to prettify_refname Felipe Contreras
2009-05-13 21:22 ` Felipe Contreras [this message]
2009-05-13 21:22 ` [PATCH 3/3] Fix test for new log decorate Felipe Contreras
2009-05-13 21:28 ` [PATCH 0/3] log: prettier decorations Jeff King
2009-05-13 21:32 ` [PATCH 2/2] Prettify log decorations even more Felipe Contreras
2009-05-13 21:34 ` [PATCH 0/3] log: prettier decorations Felipe Contreras
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=1242249726-8514-3-git-send-email-felipe.contreras@gmail.com \
--to=felipe.contreras@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
/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).