diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2021-12-09 10:30:05 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-09 13:24:06 -0800 |
commit | 0e488f173257e5ab766267ac5a5c4c9f3f1ce343 (patch) | |
tree | dc73443124ee5ca0db59279cab4bb78386e2c49c /upload-pack.c | |
parent | diff --color-moved: unify moved block growth functions (diff) | |
download | tgif-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 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions