[PATCH] Tweak diffcore-rename heuristics.
[git/git.git] / diff.h
CommitLineData
be3cfa85
JH
1/*
2 * Copyright (C) 2005 Junio C Hamano
3 */
86436c28
JH
4#ifndef DIFF_H
5#define DIFF_H
6
77eb2720
JH
7extern void diff_addremove(int addremove,
8 unsigned mode,
9 const unsigned char *sha1,
10 const char *base,
11 const char *path);
12
13extern 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
18extern void diff_unmerge(const char *path);
19
57fe64a4
JH
20extern int diff_scoreopt_parse(const char *opt);
21
5c97558c 22extern void diff_setup(int detect_rename, int minimum_score,
057c7d30 23 const char *pickaxe,
57fe64a4 24 int reverse, int raw_output,
5c97558c 25 const char **spec, int cnt);
86436c28 26
5c97558c 27extern void diff_flush(void);
86436c28
JH
28
29#endif /* DIFF_H */