[PATCH] delta read
[git/jnareb-git.git] / diff.h
blob86a645afee15ae061b7965b46ec2e97aa406bcec
1 /*
2 * Copyright (C) 2005 Junio C Hamano
3 */
4 #ifndef DIFF_H
5 #define DIFF_H
7 extern void diff_addremove(int addremove,
8 unsigned mode,
9 const unsigned char *sha1,
10 const char *base,
11 const char *path);
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);
18 extern void diff_unmerge(const char *path);
20 extern int diff_scoreopt_parse(const char *opt);
22 extern void diff_setup(int detect_rename, int minimum_score,
23 int reverse, int raw_output,
24 const char **spec, int cnt);
26 extern void diff_flush(void);
28 #endif /* DIFF_H */