summaryrefslogtreecommitdiff
path: root/range-diff.h
diff options
context:
space:
mode:
authorEzekiel Newren <ezekielnewren@gmail.com>2025-09-26 22:41:53 +0000
committerJunio C Hamano <gitster@pobox.com>2025-09-30 14:12:46 -0700
commitf4ea812b2d930fb1825b99dc11ca186691dade99 (patch)
treefd45997b828c08eee1ff10e4895bd84e07537bae /range-diff.h
parent7c6ce2e47b274b299dd0a3b185e70f2ee5e3e07a (diff)
xdiff: delete struct diffdata_t
Every field in this struct is an alias for a certain field in xdfile_t. diffdata_t.nrec -> xdfile_t.nreff diffdata_t.ha -> xdfile_t.ha diffdata_t.rindex -> xdfile_t.rindex diffdata_t.rchg -> xdfile_t.rchg I think this struct existed before xdfile_t, and was kept for backward compatibility reasons. I think xdiffi should have been refactored to use the new (xdfile_t) struct, but was easier to alias it instead. The local variables rchg* and rindex* don't shorten the lines by much, nor do they really need to be there to make the code more readable. Delete them. Signed-off-by: Ezekiel Newren <ezekielnewren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'range-diff.h')
0 files changed, 0 insertions, 0 deletions