From bceafe752c03f4b13b9b1671a55d9e2acd26432d Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 23 May 2005 18:14:03 -0700 Subject: [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 --- diffcore.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'diffcore.h') diff --git a/diffcore.h b/diffcore.h index c709cddc42..1ffc78d019 100644 --- a/diffcore.h +++ b/diffcore.h @@ -12,8 +12,6 @@ #define DEFAULT_MINIMUM_SCORE 5000 #define RENAME_DST_MATCHED 01 -#define RENAME_SRC_GONE 02 -#define RENAME_SCORE_SHIFT 8 struct diff_filespec { unsigned char sha1[20]; -- cgit v1.2.1