summaryrefslogtreecommitdiff
path: root/ui_70-commit.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-07-29 06:16:42 +0100
committerKatolaZ <katolaz@freaknet.org>2018-07-29 06:16:42 +0100
commit09dc60b4d73f290ccad37a086a6f867fe11efa44 (patch)
tree58bc1c5d752fec9a9f3bd590da1602e1d79d5093 /ui_70-commit.c
parent21a23a12ffa5513248eecc5444dc396c5ba0b443 (diff)
patch and plain diff works
Diffstat (limited to 'ui_70-commit.c')
-rw-r--r--ui_70-commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui_70-commit.c b/ui_70-commit.c
index 7e6d84a..d89f1b2 100644
--- a/ui_70-commit.c
+++ b/ui_70-commit.c
@@ -42,7 +42,7 @@ void cgit_print_commit(char *hex, const char *prefix)
load_ref_decorations(NULL, DECORATE_FULL_REFS);
cgit_print_layout_start();
- cgit_print_diff_ctrls();
+ /*cgit_print_diff_ctrls();*/
cgit_gopher_start_selector(GOPHER_INFO);
cgit_gopher_text("author: ");
@@ -80,7 +80,7 @@ void cgit_print_commit(char *hex, const char *prefix)
cgit_commit_link(tmp, NULL, NULL, ctx.qry.head, tmp, prefix);
cgit_gopher_end_selector();
- cgit_gopher_start_selector(GOPHER_MENU);
+ cgit_gopher_start_selector(GOPHER_TXT);
cgit_gopher_text("patch ");
cgit_gopher_tab();
cgit_patch_link("patch", NULL, NULL, NULL, tmp, prefix);