]> gitweb.ps.run Git - ps-cgit/blobdiff - cmd.c
ui-snapshot: add dwimmery
[ps-cgit] / cmd.c
diff --git a/cmd.c b/cmd.c
index a989220abfe6bd31783b3ec43bfff2c72ddd8922..5b3c14c557e0b5aa56a95263cdbd559c2460de04 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -106,7 +106,7 @@ static void snapshot_fn(struct cgit_context *ctx)
 {
        cgit_print_snapshot(ctx->qry.head, ctx->qry.sha1,
                            cgit_repobasename(ctx->repo->url), ctx->qry.path,
-                           ctx->repo->snapshots);
+                           ctx->repo->snapshots, ctx->qry.nohead);
 }
 
 static void summary_fn(struct cgit_context *ctx)