summaryrefslogtreecommitdiff
path: root/ui_70-commit.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-07-30 10:49:34 +0100
committerKatolaZ <katolaz@freaknet.org>2018-07-30 10:49:34 +0100
commit01ad42372ff9b3385bd25412b761d7af63a6b7ae (patch)
tree7541c1d4d1d27cd87bc1b9efbfc2b71fb5acc1ec /ui_70-commit.c
parente002aec90be159340816c3de2b126d03ef266af2 (diff)
removed patch display from commit page
Diffstat (limited to 'ui_70-commit.c')
-rw-r--r--ui_70-commit.c3
1 files changed, 2 insertions, 1 deletions
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("</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();