11695a58fd
Upstream continues to replace unsigned char *sha1 with struct object_id old_oid. This makes the required changes. The git lib has its own main function now. Rename our main function to cmd_main, it is called from main then.
16 line
432 B
C
16 line
432 B
C
#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 */
|