Code

Merge branch 'rs/strbuf-expand'
[git.git] / log-tree.c
index cf7947b9c9c37cd0591effc7f3653c1ce2dd723d..194ddb13da09668334cd9e1f6eeef517c3346ee9 100644 (file)
@@ -58,7 +58,9 @@ void show_decorations(struct rev_info *opt, struct commit *commit)
        struct name_decoration *decoration;
 
        if (opt->show_source && commit->util)
-               printf(" %s", (char *) commit->util);
+               printf("\t%s", (char *) commit->util);
+       if (!opt->show_decorations)
+               return;
        decoration = lookup_decoration(&name_decoration, &commit->object);
        if (!decoration)
                return;