X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/2e8e9af1d4161bfe1bfbf1e34b1631b7cc1c1b95..e6749644bc60865cb560a532b14fb3a007fb00ea:/ui-refs.c diff --git a/ui-refs.c b/ui-refs.c index 147b665..e8e308e 100644 --- a/ui-refs.c +++ b/ui-refs.c @@ -105,7 +105,7 @@ static void print_tag_downloads(const struct cgit_repo *repo, const char *ref) const char *basename; int free_ref = 0; - if (!ref || strlen(ref) < 2) + if (!ref || strlen(ref) < 1) return; basename = cgit_repobasename(repo->url);