diff options
author | Vincent Ambo <Vincent Ambo> | 2020-01-11T23·30+0000 |
---|---|---|
committer | Vincent Ambo <Vincent Ambo> | 2020-01-11T23·30+0000 |
commit | 723dc8fbcb1a4609c264758eae420ee2811a2b55 (patch) | |
tree | 6dea64c58b8973fad49924d6a1f5a5ea0863408c /ui-diff.h |
Squashed 'third_party/cgit/' content from commit 8fc0c81
git-subtree-dir: third_party/cgit git-subtree-split: 8fc0c81bbbed21ee30e8a48b2ab1066a029b7b32
Diffstat (limited to 'ui-diff.h')
-rw-r--r-- | ui-diff.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ui-diff.h b/ui-diff.h new file mode 100644 index 000000000000..39264a164fbc --- /dev/null +++ b/ui-diff.h @@ -0,0 +1,15 @@ +#ifndef UI_DIFF_H +#define UI_DIFF_H + +extern void cgit_print_diff_ctrls(void); + +extern void cgit_print_diff(const char *new_hex, const char *old_hex, + const char *prefix, int show_ctrls, int raw); + +extern struct diff_filespec *cgit_get_current_old_file(void); +extern struct diff_filespec *cgit_get_current_new_file(void); + +extern struct object_id old_rev_oid[1]; +extern struct object_id new_rev_oid[1]; + +#endif /* UI_DIFF_H */ |