summaryrefslogtreecommitdiff
path: root/cgit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgit.c b/cgit.c
index 2795ecc..7b7afba 100644
--- a/cgit.c
+++ b/cgit.c
@@ -79,7 +79,8 @@ static void cgit_print_repo_page(struct cacheitem *item)
show_search = 0;
setenv("GIT_DIR", cgit_repo->path, 1);
- if (cgit_query_page && !strcmp(cgit_query_page, "snapshot")) {
+ if (cgit_repo->snapshots && cgit_query_page &&
+ !strcmp(cgit_query_page, "snapshot")) {
cgit_print_snapshot(item, cgit_query_sha1, "zip",
cgit_repo->url, cgit_query_name);
return;
3 +0200'>2009-08-15First try of own mq-moduleRené 'Necoro' Neumann3-13/+185 2009-08-15Use message queue instead of SHMRené 'Necoro' Neumann2-51/+26 2009-08-15Honor missing eix moduleRené 'Necoro' Neumann1-2/+7 2009-08-15Also allow --enable-eixRené 'Necoro' Neumann1-1/+1 2009-08-15Also allow --enable-eixRené 'Necoro' Neumann1-0/+3 2009-08-14Change config and changelogRené 'Necoro' Neumann2-1/+6 2009-08-14Allow to disable eix in setup.pyRené 'Necoro' Neumann1-8/+17 2009-08-14Correct setup.pyRené 'Necoro' Neumann1-2/+17