diff options
| author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2026-01-26 10:48:52 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-26 08:38:29 -0800 |
| commit | 5086213bd2f44fdc793fd8a081fd1c40a3267c44 (patch) | |
| tree | 2988106692ec3e663c2ca84bc5d9680b17be2fa0 /contrib/persistent-https | |
| parent | c27afcbfd0f440f410758432e2fe11a16fb2b360 (diff) | |
| download | git-5086213bd2f44fdc793fd8a081fd1c40a3267c44.tar.gz git-5086213bd2f44fdc793fd8a081fd1c40a3267c44.zip | |
xdiff: remove unused data from xdlclass_t
Prior to commit 6d507bd41a (xdiff: delete fields ha, line, size
in xdlclass_t in favor of an xrecord_t, 2025-09-26) xdlclass_t
carried a copy of all the fields in xrecord_t. That commit embedded
xrecord_t in xdlclass_t to make it easier to change the types of
the fields in xrecord_t. However commit 6a26019c81 (xdiff: split
xrecord_t.ha into line_hash and minimal_perfect_hash, 2025-11-18)
added the "minimal_perfect_hash" field to xrecord_t which is not
used by xdlclass_t. To avoid wasting space stop copying the whole
of xrecord_t and just copy the pointer and length that we need to
intern the line. Together with the previous commit this effectively
reverts 6d507bd41a.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
