aboutsummaryrefslogtreecommitdiff
path: root/ui-log.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui-log.c b/ui-log.c
index 6b12ca2..4a295bd 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -76,8 +76,6 @@ void show_commit_decorations(struct commit *commit)
cgit_tag_link(buf, NULL, "tag-deco", ctx.qry.head, buf);
}
else if (!prefixcmp(deco->name, "refs/remotes/")) {
- if (!ctx.repo->enable_remote_branches)
- goto next;
strncpy(buf, deco->name + 13, sizeof(buf) - 1);
cgit_log_link(buf, NULL, "remote-deco", NULL,
sha1_to_hex(commit->object.sha1),
@@ -90,7 +88,6 @@ void show_commit_decorations(struct commit *commit)
sha1_to_hex(commit->object.sha1),
ctx.qry.vpath, 0);
}
-next:
deco = deco->next;
}
}