diff options
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,11 +71,11 @@ void show_commit_decorations(struct commit *commit) | |||
71 | } | 71 | } |
72 | else if (starts_with(deco->name, "tag: refs/tags/")) { | 72 | else if (starts_with(deco->name, "tag: refs/tags/")) { |
73 | strncpy(buf, deco->name + 15, sizeof(buf) - 1); | 73 | strncpy(buf, deco->name + 15, sizeof(buf) - 1); |
74 | cgit_tag_link(buf, NULL, "tag-deco", ctx.qry.head, buf); | 74 | cgit_tag_link(buf, NULL, "tag-deco", buf); |
75 | } | 75 | } |
76 | else if (starts_with(deco->name, "refs/tags/")) { | 76 | else if (starts_with(deco->name, "refs/tags/")) { |
77 | strncpy(buf, deco->name + 10, sizeof(buf) - 1); | 77 | strncpy(buf, deco->name + 10, sizeof(buf) - 1); |
78 | cgit_tag_link(buf, NULL, "tag-deco", ctx.qry.head, buf); | 78 | cgit_tag_link(buf, NULL, "tag-deco", buf); |
79 | } | 79 | } |
80 | else if (starts_with(deco->name, "refs/remotes/")) { | 80 | else if (starts_with(deco->name, "refs/remotes/")) { |
81 | if (!ctx.repo->enable_remote_branches) | 81 | if (!ctx.repo->enable_remote_branches) |