Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 0a3938b..641a5b6 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -61,6 +61,8 @@ void show_commit_decorations(struct commit *commit)
buf[sizeof(buf) - 1] = 0;
deco = get_name_decoration(&commit->object);
+ if (!deco)
+ return;
html("<span class='decoration'>");
while (deco) {
if (starts_with(deco->name, "refs/heads/")) {