]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-commit.c
clone: use cgit_print_error_page() instead of html_status()
[cgit.git] / ui-commit.c
index ec9926480f5539334d7233c1c8b5be0ecfffbf36..d5a888dc92fc117947ef9ce42b34fc9ece433d41 100644 (file)
@@ -99,7 +99,7 @@ void cgit_print_commit(char *hex, const char *prefix)
                cgit_commit_link(tmp2, NULL, NULL, ctx.qry.head, tmp, prefix);
                html(" (");
                cgit_diff_link("diff", NULL, NULL, ctx.qry.head, hex,
-                              sha1_to_hex(p->item->object.sha1), prefix, 0);
+                              sha1_to_hex(p->item->object.sha1), prefix);
                html(")</td></tr>");
                parents++;
        }