diff options
Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -68,9 +68,9 @@ 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_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 | } |
