summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-05-14 00:32:53 +0300
committerJunio C Hamano <gitster@pobox.com>2009-05-13 20:55:49 -0700
commitde435ac0f633b1f68dba2970cb7fa019171e40fe (patch)
treea651c7355952e51c5e3e40ab2e9b7e12bf841e3e /log-tree.c
parent4577e483648f50dd80faa401dc1d3eb33ffb627b (diff)
downloadgit-de435ac0f633b1f68dba2970cb7fa019171e40fe.tar.gz
Prettify log decorations even more
"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> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'log-tree.c')
-rw-r--r--log-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/log-tree.c b/log-tree.c
index 5bd29e6994..59d63eb67e 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;