diff options
author | Lars Hjemli <hjemli@gmail.com> | 2011-03-06 23:59:56 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-03-06 23:59:56 +0100 |
commit | 962a24892feb9e3d69542bcf0a219dc14836e921 (patch) | |
tree | 991b67cd914a708d83f08dd7f859a9cadbb74490 /ui-diff.h | |
parent | 1a64fd2f83affda41fb9903b7c299d35170bfc05 (diff) | |
download | cgit-962a24892feb9e3d69542bcf0a219dc14836e921.tar.gz cgit-962a24892feb9e3d69542bcf0a219dc14836e921.tar.xz |
ui-diff.c: create a control panel for diff options
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-diff.h')
-rw-r--r-- | ui-diff.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |