removed patch display from commit page

gopher
KatolaZ 7 years ago
parent e002aec90b
commit 01ad42372f
  1. 3
      ui_70-commit.c

@ -157,13 +157,14 @@ void cgit_print_commit(char *hex, const char *prefix)
html("</div>");
html("<div class='notes-footer'></div>");
}*/
if (parents < 3) {
/* if (parents < 3) {
if (parents)
tmp = oid_to_hex(&commit->parents->item->object.oid);
else
tmp = NULL;
cgit_print_diff(ctx.qry.sha1, tmp, prefix, 0, 0);
}
*/
strbuf_release(&notes);
cgit_free_commitinfo(info);
cgit_print_layout_end();

Loading…
Cancel
Save