X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/d532c4d1612c94347427fa1afda6afb7c34e512a..e78186dcb63ec67a38dddfcd8f91d2108583320b:/cmd.c?ds=inline diff --git a/cmd.c b/cmd.c index a989220..8914fa5 100644 --- 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)