]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff: delete local variables that alias fields in xrecord_t
authorEzekiel Newren <ezekielnewren@gmail.com>
Fri, 26 Sep 2025 22:41:52 +0000 (22:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Sep 2025 21:12:46 +0000 (14:12 -0700)
commit7c6ce2e47b274b299dd0a3b185e70f2ee5e3e07a
tree6376cadc21e86b20a522d7c189e0910cfaf03a55
parent7bdeb3afad908e52baab6e58397423aa2d2f3d29
xdiff: delete local variables that alias fields in xrecord_t

Use the type xrecord_t as the local variable for the functions in the
file xdiff/xemit.c. Most places directly reference the fields inside of
this struct, doing that here makes it more consistent with the rest of
the code.

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