diff options
-rw-r--r-- | ui-refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -105,7 +105,7 @@ static void print_tag_downloads(const struct cgit_repo *repo, const char *ref) | |||
105 | const char *basename; | 105 | const char *basename; |
106 | int free_ref = 0; | 106 | int free_ref = 0; |
107 | 107 | ||
108 | if (!ref || strlen(ref) < 2) | 108 | if (!ref || strlen(ref) < 1) |
109 | return; | 109 | return; |
110 | 110 | ||
111 | basename = cgit_repobasename(repo->url); | 111 | basename = cgit_repobasename(repo->url); |