path: root/diff.h
diff options
authorJunio C Hamano <>2005-05-24 01:14:03 (GMT)
committerLinus Torvalds <>2005-05-24 02:17:06 (GMT)
commitbceafe752c03f4b13b9b1671a55d9e2acd26432d (patch)
tree9036674db3bab78474a79b0445a8d8e178dc9151 /diff.h
parent9a4a100eb46a769d1c5fa80c2daeb0b48a592d8d (diff)
[PATCH] Fix diff-pruning logic which was running prune too early.
For later stages to reorder patches, pruning logic and rename detection logic should not decide which delete to discard (because another entry said it will take over the file as a rename) until the very end. Also fix some tests that were assuming the earlier "last one is rename or keep everything else is copy" semantics of diff-raw format, which no longer is true. Signed-off-by: Junio C Hamano <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'diff.h')
1 files changed, 0 insertions, 2 deletions
diff --git a/diff.h b/diff.h
index 6aa4128..0d1f9ae 100644
--- a/diff.h
+++ b/diff.h
@@ -39,8 +39,6 @@ extern void diff_setup(int reverse);
extern void diffcore_rename(int rename_copy, int minimum_score);
-extern void diffcore_prune(void);
extern void diffcore_pickaxe(const char *needle);
extern void diffcore_pathspec(const char **pathspec);