summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2021-12-09 10:30:05 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-09 13:24:06 -0800
commit0e488f173257e5ab766267ac5a5c4c9f3f1ce343 (patch)
treedc73443124ee5ca0db59279cab4bb78386e2c49c /cache.h
parentdiff --color-moved: unify moved block growth functions (diff)
downloadtgif-0e488f173257e5ab766267ac5a5c4c9f3f1ce343.tar.xz
diff --color-moved: shrink potential moved blocks as we go
Rather than setting `match` to NULL and then looping over the list of potential matched blocks for a second time to remove blocks with no matches just filter out the blocks with no matches as we go. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
0 files changed, 0 insertions, 0 deletions