Unidiff1 files changed, 2 insertions, 2 deletions
|
diff --git a/cgit.c b/cgit.c index 6597529..c86d290 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -67,11 +67,11 @@ static void cgit_print_repo_page(struct cacheitem *item) |
67 | show_search = 0; |
67 | show_search = 0; |
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_head, cgit_query_sha1, |
72 | cgit_repobasename(cgit_repo->url), |
72 | cgit_repobasename(cgit_repo->url), |
73 | cgit_query_name, |
73 | cgit_query_path, |
74 | cgit_repo->snapshots ); |
74 | cgit_repo->snapshots ); |
75 | return; |
75 | return; |
76 | } |
76 | } |
77 | |
77 | |
|