aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/technical
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2020-10-15 20:46:29 +0000
committerJunio C Hamano <gitster@pobox.com>2020-10-16 12:29:28 -0700
commit8536821d05697a6da991fbecc628058329f39364 (patch)
treea947193ea59249ef040ef19348ce5b8e90703665 /Documentation/technical
parent902c521a35ccf479a99253918346baa9a1011c22 (diff)
downloadgit-8536821d05697a6da991fbecc628058329f39364.tar.gz
t6423: update directory rename detection tests with new rule
While investigating the issues highlighted by the testcase in the previous patch, I also found a shortcoming in the directory rename detection rules. Split testcase 6b into two to explain this issue and update directory-rename-detection.txt to remove one of the previous rules that I know believe to be detrimental. Also, update the wording around testcase 8e; while we are not modifying the results of that testcase, we were previously unsure of the appropriate resolution of that test and the new rule makes the previously chosen resolution for that testcase a bit more solid. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
-rw-r--r--Documentation/technical/directory-rename-detection.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/technical/directory-rename-detection.txt b/Documentation/technical/directory-rename-detection.txt
index ce042cfcae..5d03539412 100644
--- a/Documentation/technical/directory-rename-detection.txt
+++ b/Documentation/technical/directory-rename-detection.txt
@@ -70,10 +70,7 @@ additional rules:
a) If renames split a directory into two or more others, the directory
with the most renames, "wins".
- b) Avoid directory-rename-detection for a path, if that path is the
- source of a rename on either side of a merge.
-
- c) Only apply implicit directory renames to directories if the other side
+ b) Only apply implicit directory renames to directories if the other side
of history is the one doing the renaming.
Limitations -- support in different commands