diff options
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,8 @@ void show_commit_decorations(struct commit *commit) | |||
61 | 61 | ||
62 | buf[sizeof(buf) - 1] = 0; | 62 | buf[sizeof(buf) - 1] = 0; |
63 | deco = get_name_decoration(&commit->object); | 63 | deco = get_name_decoration(&commit->object); |
64 | if (!deco) | ||
65 | return; | ||
64 | html("<span class='decoration'>"); | 66 | html("<span class='decoration'>"); |
65 | while (deco) { | 67 | while (deco) { |
66 | if (starts_with(deco->name, "refs/heads/")) { | 68 | if (starts_with(deco->name, "refs/heads/")) { |