Unidiff1 files changed, 4 insertions, 2 deletions
|
diff --git a/cgit.c b/cgit.c index 4b91829..6597529 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -68,8 +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, "zip", |
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, |
| |
74 | cgit_repo->snapshots ); |
73 | return; |
75 | return; |
74 | } |
76 | } |
75 | |
77 | |
|