]> git.99rst.org Git - git.git/commit
diff --color-moved: shrink potential moved blocks as we go
authorPhillip Wood <redacted>
Thu, 9 Dec 2021 10:30:05 +0000 (10:30 +0000)
committerJunio C Hamano <redacted>
Thu, 9 Dec 2021 21:24:06 +0000 (13:24 -0800)
commit0e488f173257e5ab766267ac5a5c4c9f3f1ce343
treedc73443124ee5ca0db59279cab4bb78386e2c49c
parentff046a0066f55cb730ced3f8eb54d508dcd3a4c7
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
diff.c
git clone https://git.99rst.org/PROJECT