[PATCH] Split external diff command interface to a separate file.
[git/gitweb.git] / diff.h
blob56ca373248ebb30ac5f832488aa3255a97a50618
1 #ifndef DIFF_H
2 #define DIFF_H
4 extern void prepare_diff_cmd(void);
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 */);
13 extern void show_diff_empty(const unsigned char *sha1,
14 const char *name,
15 int reverse);
17 #endif /* DIFF_H */