]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-commit.c
allow selective enabling of snapshots
[ps-cgit] / ui-commit.c
index bf5e6dca6451b0f6a87d97695bad681850b7858f..50e9e113e24a073679e7346b719969a12b3a4b60 100644 (file)
@@ -196,7 +196,7 @@ 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,hex,cgit_repo->snapshots);
                html("</td></tr>");
        }
        html("</table>\n");