[PATCH] Prepare diffcore interface for diff-tree header supression.
[git/git.git] / diff.h
1 /*
2 * Copyright (C) 2005 Junio C Hamano
3 */
4 #ifndef DIFF_H
5 #define DIFF_H
6
7 extern void diff_addremove(int addremove,
8 unsigned mode,
9 const unsigned char *sha1,
10 const char *base,
11 const char *path);
12
13 extern void diff_change(unsigned mode1, unsigned mode2,
14 const unsigned char *sha1,
15 const unsigned char *sha2,
16 const char *base, const char *path);
17
18 extern void diff_unmerge(const char *path);
19
20 extern int diff_scoreopt_parse(const char *opt);
21
22 extern void diff_setup(int reverse, int diff_raw_output);
23
24 extern void diff_detect_rename(int, int);
25 extern void diff_pickaxe(const char *);
26
27 extern int diff_queue_is_empty(void);
28
29 extern void diff_flush(const char **, int);
30
31 #endif /* DIFF_H */