aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-17 23:29:49 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-18 11:16:24 -0700
commit915838c3cbf5695e754b2826ee5e8fd46b23b0b7 (patch)
treebc893d0dd849a227a7ffcdffdb0a545232c755b2 /diff.h
parente7bd907db6a707481066f2c8d58e208110824358 (diff)
downloadgit-915838c3cbf5695e754b2826ee5e8fd46b23b0b7.tar.gz
git-915838c3cbf5695e754b2826ee5e8fd46b23b0b7.tar.xz
[PATCH] Diff-helper update
This patch adds a framework and a stub implementation of rename detection to diff-helper program. The current stub code is just enough to detect pure renames in diff-tree output and not fancier. The plan is perhaps to use the same delta code when Nico's delta storage patch is merged for similarity evaluation purposes. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.h b/diff.h
index c146d8acf..815987de5 100644
--- a/diff.h
+++ b/diff.h
@@ -31,7 +31,7 @@ struct diff_spec {
unsigned file_valid : 1; /* if false the file does not even exist */
};
-extern void run_external_diff(const char *name,
+extern void run_external_diff(const char *name, const char *other,
struct diff_spec *, struct diff_spec *);
#endif /* DIFF_H */