X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/1dd53e3a2ffec730ec27ebe15b3d63e0b417a544..82aadcfc51ab9560862b99bfe5833c17f102f0ac:/ui-commit.c?ds=sidebyside diff --git a/ui-commit.c b/ui-commit.c index abf58f6..37c7d8d 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -110,8 +110,7 @@ void cgit_print_commit(char *hex, const char *prefix) } if (ctx.repo->snapshots) { html("download"); - cgit_print_snapshot_links(ctx.qry.repo, ctx.qry.head, - hex, ctx.repo->snapshots); + cgit_print_snapshot_links(ctx.repo, hex); html(""); } html("\n");