summaryrefslogtreecommitdiff
path: root/pretty.c
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2021-12-09 10:29:56 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-09 13:24:05 -0800
commitbea084ba41ffcaf5896522e48d67682b6a45b04c (patch)
treefc632d47cbe052a48edfa6671343a9286e8136f8 /pretty.c
parentdiff --color-moved: add perf tests (diff)
downloadtgif-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 'pretty.c')
0 files changed, 0 insertions, 0 deletions