]> git.ipfire.org Git - thirdparty/git.git/commit
compat: drop `uncompress2()` compatibility shim
authorPatrick Steinhardt <ps@pks.im>
Tue, 28 Jan 2025 08:41:27 +0000 (09:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jan 2025 21:03:22 +0000 (13:03 -0800)
commit3656d57bbf4d82b62f368d56d3c4703f3916c2dc
tree9d1388c678f5260bd42595c260355a18cbb3899e
parentee109848cf18df772b0f5f8e70fa7c7f4bfb2e92
compat: drop `uncompress2()` compatibility shim

Our compat library has an implementation of zlib's `uncompress2()`
function that gets used when linking against an old version of zlib
that doesn't yet have it. The last user of `uncompress2()` got removed
in 15a60b747e (reftable/block: open-code call to `uncompress2()`,
2024-04-08), so the compatibility code is not required anymore. Drop it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
compat/zlib-uncompress2.c [deleted file]
git-compat-util.h
meson.build