]> git.ipfire.org Git - thirdparty/git.git/blame - diff.h
[PATCH] Split external diff command interface to a separate file.
[thirdparty/git.git] / diff.h
CommitLineData
86436c28
JH
1#ifndef DIFF_H
2#define DIFF_H
3
4extern void prepare_diff_cmd(void);
5
6extern 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
13extern void show_diff_empty(const unsigned char *sha1,
14 const char *name,
15 int reverse);
16
17#endif /* DIFF_H */