Unidiff1 files changed, 2 insertions, 1 deletions
|
diff --git a/cgit.c b/cgit.c index a0f88ad..7b55b7b 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -68,9 +68,10 @@ static void cgit_print_repo_page(struct cacheitem *item) |
68 | setenv("GIT_DIR", cgit_repo->path, 1); |
68 | setenv("GIT_DIR", cgit_repo->path, 1); |
69 | |
69 | |
70 | if ((cgit_cmd == CMD_SNAPSHOT) && cgit_repo->snapshots) { |
70 | if ((cgit_cmd == CMD_SNAPSHOT) && cgit_repo->snapshots) { |
71 | cgit_print_snapshot(item, cgit_query_sha1, |
71 | cgit_print_snapshot(item, cgit_query_sha1, |
72 | cgit_repo->url, cgit_query_name); |
72 | cgit_repobasename(cgit_repo->url), |
| |
73 | cgit_query_name); |
73 | return; |
74 | return; |
74 | } |
75 | } |
75 | |
76 | |
76 | if (cgit_cmd == CMD_BLOB) { |
77 | if (cgit_cmd == CMD_BLOB) { |
|