git/xdiff
Ezekiel Newren 6d507bd41a xdiff: delete fields ha, line, size in xdlclass_t in favor of an xrecord_t
The fields from xdlclass_t are aliases of xrecord_t:
xdlclass_t.line -> xrecord_t.ptr
xdlclass_t.size -> xrecord_t.size
xdlclass_t.ha   -> xrecord_t.ha

xdlclass_t carries a copy of the data in xrecord_t, but instead of
embedding xrecord_t it duplicates the individual fields. A future
commit will change the types used in xrecord_t so embed it in
xdlclass_t first, so we don't have to remember to change the types
here as well.

Best-viewed-with: --color-words
Helped-by: Phillip Wood <phillip.wood123@gmail.com>
Signed-off-by: Ezekiel Newren <ezekielnewren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-09-30 14:12:46 -07:00
..
xdiff.h
xdiffi.c xdiff: delete redundant array xdfile_t.ha 2025-09-30 14:12:46 -07:00
xdiffi.h xdiff: delete struct diffdata_t 2025-09-30 14:12:46 -07:00
xemit.c xdiff: delete local variables that alias fields in xrecord_t 2025-09-30 14:12:46 -07:00
xemit.h
xhistogram.c
xinclude.h
xmacros.h
xmerge.c
xpatience.c
xprepare.c xdiff: delete fields ha, line, size in xdlclass_t in favor of an xrecord_t 2025-09-30 14:12:46 -07:00
xprepare.h
xtypes.h xdiff: delete redundant array xdfile_t.ha 2025-09-30 14:12:46 -07:00
xutils.c
xutils.h