diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2021-12-09 10:29:56 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-09 13:24:05 -0800 |
commit | bea084ba41ffcaf5896522e48d67682b6a45b04c (patch) | |
tree | fc632d47cbe052a48edfa6671343a9286e8136f8 /t/perf | |
parent | diff --color-moved: add perf tests (diff) | |
download | tgif-bea084ba41ffcaf5896522e48d67682b6a45b04c.tar.xz |
diff --color-moved: clear all flags on blocks that are too short
If a block of potentially moved lines is not long enough then the
DIFF_SYMBOL_MOVED_LINE flag is cleared on the matching lines so they
are not marked as moved. To avoid problems when we start rewinding
after an unsuccessful match in a couple of commits time make sure all
the move related flags are cleared, not just DIFF_SYMBOL_MOVED_LINE.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf')
0 files changed, 0 insertions, 0 deletions