]> git.ipfire.org Git - thirdparty/git.git/commit
compat: introduce new "zlib.h" header
authorPatrick Steinhardt <ps@pks.im>
Tue, 28 Jan 2025 08:41:29 +0000 (09:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jan 2025 21:03:22 +0000 (13:03 -0800)
commit629188ede7ee00c925ef28b85b1e68fc9e05fb93
tree27de4e9a05a979cf966b04eb58a8a2f43a218628
parent27e8960037289dc10e6f659b424c66bfb07146b5
compat: introduce new "zlib.h" header

Introduce a new "compat/zlib-compat.h" header that we include instead of
including <zlib.h> directly. This will allow us to wire up zlib-ng as an
alternative backend for zlib compression in a subsequent commit.

Note that we cannot just call the file "compat/zlib.h", as that may
otherwise cause us to include that file instead of <zlib.h>.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/zlib-compat.h [new file with mode: 0644]
git-compat-util.h
reftable/block.c