Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Teach/Fix pull/fetch -q/-v options
[gitweb.git]
/
log-tree.c
diff --git
a/log-tree.c
b/log-tree.c
index cf7947b9c9c37cd0591effc7f3653c1ce2dd723d..5444f0860b2150d440dfbd5a4be4aa2daa1316fc 100644
(file)
--- a/
log-tree.c
+++ b/
log-tree.c
@@
-59,6
+59,8
@@
void show_decorations(struct rev_info *opt, struct commit *commit)
if (opt->show_source && commit->util)
printf(" %s", (char *) commit->util);
+ if (!opt->show_decorations)
+ return;
decoration = lookup_decoration(&name_decoration, &commit->object);
if (!decoration)
return;