[PATCH] Split external diff command interface to a separate file.
[git.git] / diff.h
1 #ifndef DIFF_H
2 #define DIFF_H
3
4 extern void prepare_diff_cmd(void);
5
6 extern void show_differences(const char *name, /* filename on the filesystem */
7                              const char *label, /* diff label to use */
8                              void *old_contents, /* contents in core */
9                              unsigned long long old_size, /* size in core */
10                              int reverse /* 0: diff core file
11                                             1: diff file core */);
12
13 extern void show_diff_empty(const unsigned char *sha1,
14                             const char *name,
15                             int reverse);
16
17 #endif /* DIFF_H */