diff options
Diffstat (limited to 'ui-refs.c')
-rw-r--r-- | ui-refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ static void print_tag_downloads(const struct cgit_repo *repo, const char *ref) | |||
100 | if (!ref || strlen(ref) < 1) | 100 | if (!ref || strlen(ref) < 1) |
101 | return; | 101 | return; |
102 | 102 | ||
103 | basename = cgit_repobasename(repo->url); | 103 | basename = cgit_snapshot_prefix(repo); |
104 | if (starts_with(ref, basename)) | 104 | if (starts_with(ref, basename)) |
105 | strbuf_addstr(&filename, ref); | 105 | strbuf_addstr(&filename, ref); |
106 | else | 106 | else |