summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2026-05-08 08:16:42 +0000
committerJunio C Hamano <gitster@pobox.com>2026-05-09 11:25:32 +0900
commit17fa0775966dd9769864768c0fdc76d3cc2a01fb (patch)
tree7470626239167b55122d1ead6a7503630e8fa0cb /t/t4013/diff.diff_initial..side
parent606c1923803c6d49df45178041c486431ff7cb4b (diff)
delta, packfile: use size_t for delta header sizes
The delta header decoding functions return unsigned long, which truncates on Windows for objects larger than 4GB. Introduce size_t variants get_delta_hdr_size_sz() and get_size_from_delta_sz() that preserve the full 64-bit size, and use them in packed_object_info() where the size is needed for streaming decisions. This was originally authored by LordKiRon <https://github.com/LordKiRon>, who preferred not to reveal their real name and therefore agreed that I take over authorship. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions