X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/d85e8a9810cbfbe5cfe80509a7b47cb39483e6ac..c1572bb5ec4540b5008490cf471cc4a5e65ef728:/ui-refs.c diff --git a/ui-refs.c b/ui-refs.c index 75f2789..50d9d30 100644 --- a/ui-refs.c +++ b/ui-refs.c @@ -100,7 +100,7 @@ static void print_tag_downloads(const struct cgit_repo *repo, const char *ref) if (!ref || strlen(ref) < 1) return; - basename = cgit_repobasename(repo->url); + basename = cgit_snapshot_prefix(repo); if (starts_with(ref, basename)) strbuf_addstr(&filename, ref); else