aboutsummaryrefslogtreecommitdiffstats
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2021-12-09 10:30:05 +0000
committerJunio C Hamano <gitster@pobox.com>2021-12-09 13:24:06 -0800
commit0e488f173257e5ab766267ac5a5c4c9f3f1ce343 (patch)
treedc73443124ee5ca0db59279cab4bb78386e2c49c /refs/files-backend.c
parentff046a0066f55cb730ced3f8eb54d508dcd3a4c7 (diff)
downloadgit-0e488f173257e5ab766267ac5a5c4c9f3f1ce343.tar.gz
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 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions