]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff/xdl_cleanup_records: delete local recs pointer
authorEzekiel Newren <ezekielnewren@gmail.com>
Wed, 29 Apr 2026 22:08:10 +0000 (22:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Apr 2026 00:16:50 +0000 (09:16 +0900)
commitb7b8449e5ae7c6a0bb3e87c82d9dd6fd382baf62
treeaed9d9a451078c11d056f98fe1522d21e1a1e92c
parentca1db8a0f7dc0dbea892e99f5b37c5fe5861be71
xdiff/xdl_cleanup_records: delete local recs pointer

Simplify the first 2 for loops by directly indexing the xdfile.recs.
recs is unused in the last 2 for loops, remove it. Best viewed with
--color-words.

Signed-off-by: Ezekiel Newren <ezekielnewren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xprepare.c