about summary refs log tree commit diff stats
path: root/ui-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-log.c b/ui-log.c index 2aa12c3..6f1249b 100644 --- a/ui-log.c +++ b/ui-log.c
@@ -61,6 +61,7 @@ void show_commit_decorations(struct commit *commit)
61 61
62 buf[sizeof(buf) - 1] = 0; 62 buf[sizeof(buf) - 1] = 0;
63 deco = lookup_decoration(&name_decoration, &commit->object); 63 deco = lookup_decoration(&name_decoration, &commit->object);
64 html("<span class='decoration'>");
64 while (deco) { 65 while (deco) {
65 if (!prefixcmp(deco->name, "refs/heads/")) { 66 if (!prefixcmp(deco->name, "refs/heads/")) {
66 strncpy(buf, deco->name + 11, sizeof(buf) - 1); 67 strncpy(buf, deco->name + 11, sizeof(buf) - 1);
@@ -94,6 +95,7 @@ void show_commit_decorations(struct commit *commit)
94next: 95next:
95 deco = deco->next; 96 deco = deco->next;
96 } 97 }
98 html("</span>");
97} 99}
98 100
99static void print_commit(struct commit *commit, struct rev_info *revs) 101static void print_commit(struct commit *commit, struct rev_info *revs)