summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4577e48)
raw | patch | inline | side by side (parent: 4577e48)
author | Felipe Contreras <felipe.contreras@gmail.com> | |
Wed, 13 May 2009 21:32:53 +0000 (00:32 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 14 May 2009 03:55:49 +0000 (20:55 -0700) |
"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>
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>
log-tree.c | patch | blob | history | |
t/t4013/diff.log_--decorate_--all | patch | blob | history |
diff --git a/log-tree.c b/log-tree.c
index 5bd29e6994c92268ec576671bb8564b57d1a5c9d..59d63eb67e57ab55bdca6493fa8b28b0c870ff21 100644 (file)
--- a/log-tree.c
+++ b/log-tree.c
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;
index 12da8ac07de4423cf4736aced96bab8150f83ef0..954210ea907cb04f6113d82194c0753019270d8a 100644 (file)
$ git log --decorate --all
-commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 (refs/heads/master)
+commit 59d314ad6f356dd08601a4cd5e530381da3e3c64 (master)
Merge: 9a6d494 c7a2ab9
Author: A U Thor <author@example.com>
Date: Mon Jun 26 00:04:00 2006 +0000
Merge branch 'side'
-commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a (refs/heads/side)
+commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a (side)
Author: A U Thor <author@example.com>
Date: Mon Jun 26 00:03:00 2006 +0000
This is the second commit.
-commit 444ac553ac7612cc88969031b02b3767fb8a353a (refs/heads/initial)
+commit 444ac553ac7612cc88969031b02b3767fb8a353a (initial)
Author: A U Thor <author@example.com>
Date: Mon Jun 26 00:00:00 2006 +0000