diff options
Diffstat (limited to 'ui-diff.h')
-rw-r--r-- | ui-diff.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,11 +1,13 @@ | |||
1 | #ifndef UI_DIFF_H | 1 | #ifndef UI_DIFF_H |
2 | #define UI_DIFF_H | 2 | #define UI_DIFF_H |
3 | 3 | ||
4 | extern void cgit_print_diff_ctrls(); | ||
5 | |||
4 | extern void cgit_print_diffstat(const unsigned char *old_sha1, | 6 | extern void cgit_print_diffstat(const unsigned char *old_sha1, |
5 | const unsigned char *new_sha1); | 7 | const unsigned char *new_sha1); |
6 | 8 | ||
7 | extern void cgit_print_diff(const char *new_hex, const char *old_hex, | 9 | extern void cgit_print_diff(const char *new_hex, const char *old_hex, |
8 | const char *prefix); | 10 | const char *prefix, int show_ctrls); |
9 | 11 | ||
10 | extern struct diff_filespec *cgit_get_current_old_file(void); | 12 | extern struct diff_filespec *cgit_get_current_old_file(void); |
11 | extern struct diff_filespec *cgit_get_current_new_file(void); | 13 | extern struct diff_filespec *cgit_get_current_new_file(void); |