]> git.cameronkatri.com Git - cgit.git/blobdiff - cmd.c
ui-log: show name-decorations in log output
[cgit.git] / cmd.c
diff --git a/cmd.c b/cmd.c
index a989220abfe6bd31783b3ec43bfff2c72ddd8922..8914fa50132b7e87ffc6caa9bfd58a93eedff02c 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -104,9 +104,8 @@ static void refs_fn(struct cgit_context *ctx)
 
 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);
+       cgit_print_snapshot(ctx->qry.head, ctx->qry.sha1, ctx->qry.path,
+                           ctx->repo->snapshots, ctx->qry.nohead);
 }
 
 static void summary_fn(struct cgit_context *ctx)