]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-commit.c
Add support for a renamelimit option in cgitrc
[ps-cgit] / ui-commit.c
index bf5e6dca6451b0f6a87d97695bad681850b7858f..90e09edb99e3e5df331f22ada90ad7be2391b386 100644 (file)
@@ -196,7 +196,8 @@ void cgit_print_commit(char *hex)
        }
        if (cgit_repo->snapshots) {
                html("<tr><th>download</th><td colspan='2' class='sha1'>");
-               cgit_print_snapshot_links(cgit_query_repo,hex);
+               cgit_print_snapshot_links(cgit_query_repo, cgit_query_head,
+                                         hex, cgit_repo->snapshots);
                html("</td></tr>");
        }
        html("</table>\n");