diff options
author | Elijah Newren <newren@gmail.com> | 2021-05-20 06:09:38 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-05-20 15:40:39 +0900 |
commit | d509802993e8423d459a05fcd6151ca1782caa07 (patch) | |
tree | cde77fddcc405bea7cd5fafe06f3e5da3abb6850 /trace2/tr2_cmd_name.h | |
parent | merge-ort: avoid accidental API mis-use (diff) | |
download | tgif-d509802993e8423d459a05fcd6151ca1782caa07.tar.xz |
merge-ort: preserve cached renames for the appropriate side
Previous commits created an in-memory cache of the results of rename
detection, and added logic to detect when that cache could appropriately
be used in a subsequent merge operation -- but we were still
unconditionally clearing the cache with each new merge operation anyway.
If it is valid to reuse the cache from one of the two sides of history,
preserve that side.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2/tr2_cmd_name.h')
0 files changed, 0 insertions, 0 deletions