From 01ad42372ff9b3385bd25412b761d7af63a6b7ae Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 30 Jul 2018 10:49:34 +0100 Subject: removed patch display from commit page --- ui_70-commit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui_70-commit.c b/ui_70-commit.c index 082ebee..d7b5f9d 100644 --- a/ui_70-commit.c +++ b/ui_70-commit.c @@ -157,13 +157,14 @@ void cgit_print_commit(char *hex, const char *prefix) html(""); html(""); }*/ - 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(¬es); cgit_free_commitinfo(info); cgit_print_layout_end(); -- cgit v1.2.3