From 962a24892feb9e3d69542bcf0a219dc14836e921 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sun, 6 Mar 2011 23:59:56 +0100 Subject: ui-diff.c: create a control panel for diff options Signed-off-by: Lars Hjemli --- ui-diff.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui-diff.h') diff --git a/ui-diff.h b/ui-diff.h index 12d0c62..0161ffb 100644 --- a/ui-diff.h +++ b/ui-diff.h @@ -1,11 +1,13 @@ #ifndef UI_DIFF_H #define UI_DIFF_H +extern void cgit_print_diff_ctrls(); + extern void cgit_print_diffstat(const unsigned char *old_sha1, const unsigned char *new_sha1); extern void cgit_print_diff(const char *new_hex, const char *old_hex, - const char *prefix); + const char *prefix, int show_ctrls); extern struct diff_filespec *cgit_get_current_old_file(void); extern struct diff_filespec *cgit_get_current_new_file(void); -- cgit v1.2.3-70-g09d2