summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/ui-diff.h
blob: 39264a164fbc1ba9579c55f7eaf2d7fc7ca73c35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 */
897c90d6047f8ad8842&follow=1'>Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe