]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-commit.c
Add prefix parameter to cgit_print_diff()
[ps-cgit] / ui-commit.c
index 50e9e113e24a073679e7346b719969a12b3a4b60..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_repo->snapshots);
+               cgit_print_snapshot_links(cgit_query_repo, cgit_query_head,
+                                         hex, cgit_repo->snapshots);
                html("</td></tr>");
        }
        html("</table>\n");