diff options
author | Elijah Newren <newren@gmail.com> | 2021-02-27 00:30:45 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-26 17:53:12 -0800 |
commit | b1473019e8b2b4aafdf578ab3dade36c9c4d419d (patch) | |
tree | 6f96005bd5aac39aed3f0c1ecd321546f29a7f54 /contrib/hooks/multimail/README.Git | |
parent | diffcore-rename: move dir_rename_counts into dir_rename_info struct (diff) | |
download | tgif-b1473019e8b2b4aafdf578ab3dade36c9c4d419d.tar.xz |
diffcore-rename: extend cleanup_dir_rename_info()
When diffcore_rename_extended() is passed a NULL dir_rename_count, we
will still want to create a temporary one for use by
find_basename_matches(), but have it fully deallocated before
diffcore_rename_extended() returns. However, when
diffcore_rename_extended() is passed a dir_rename_count, we want to fill
that strmap with appropriate values and return it. However, for our
interim purposes we may also add entries corresponding to directories
that cannot have been renamed due to still existing on both sides.
Extend cleanup_dir_rename_info() to handle these two different cases,
cleaning up the relevant bits of information for each case.
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 'contrib/hooks/multimail/README.Git')
0 files changed, 0 insertions, 0 deletions