diff options
author | Elijah Newren <newren@gmail.com> | 2021-02-27 00:30:46 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-26 17:53:12 -0800 |
commit | 1ad69eb0dcfa61e175e7540517bd4e6e7a66822a (patch) | |
tree | 0b7a23d41522bd072450b71b804c3a906507a14e /Documentation | |
parent | diffcore-rename: extend cleanup_dir_rename_info() (diff) | |
download | tgif-1ad69eb0dcfa61e175e7540517bd4e6e7a66822a.tar.xz |
diffcore-rename: compute dir_rename_counts in stages
Compute dir_rename_counts based just on exact renames to start, as that
can provide us useful information in find_basename_matches(). This is
done by moving the code from compute_dir_rename_counts() into
initialize_dir_rename_info(), resulting in it being computed earlier and
based just on exact renames. Since that's an incomplete result, we
augment the counts via calling update_dir_rename_counts() after each
basename-guide and inexact rename detection match is found.
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions