directory-rename-detection.txt: small updates due to merge-ort optimizations

In commit 0c4fd732f0 ("Move computation of dir_rename_count from
merge-ort to diffcore-rename", 2021-02-27), much of the logic for
computing directory renames moved into diffcore-rename.
directory-rename-detection.txt had claims that all of that logic was
found in merge-recursive.  Update the documentation.

Acked-by: Derrick Stolee <dstolee@microsoft.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren 2021-08-04 23:50:46 +00:00 committed by Junio C Hamano
parent e037c2e418
commit b378df72ed

View File

@ -2,9 +2,9 @@ Directory rename detection
========================== ==========================
Rename detection logic in diffcore-rename that checks for renames of Rename detection logic in diffcore-rename that checks for renames of
individual files is aggregated and analyzed in merge-recursive for cases individual files is also aggregated there and then analyzed in either
where combinations of renames indicate that a full directory has been merge-ort or merge-recursive for cases where combinations of renames
renamed. indicate that a full directory has been renamed.
Scope of abilities Scope of abilities
------------------ ------------------
@ -88,9 +88,11 @@ directory rename detection support in:
Folks have requested in the past that `git diff` detect directory Folks have requested in the past that `git diff` detect directory
renames and somehow simplify its output. It is not clear whether this renames and somehow simplify its output. It is not clear whether this
would be desirable or how the output should be simplified, so this was would be desirable or how the output should be simplified, so this was
simply not implemented. Further, to implement this, directory rename simply not implemented. Also, while diffcore-rename has most of the
detection logic would need to move from merge-recursive to logic for detecting directory renames, some of the logic is still found
diffcore-rename. within merge-ort and merge-recursive. Fully supporting directory
rename detection in diffs would require copying or moving the remaining
bits of logic to the diff machinery.
* am * am