]> git.ipfire.org Git - thirdparty/git.git/commit
object-file.c: factor out deflate part of write_loose_object()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 11 Jun 2022 02:44:18 +0000 (10:44 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Jun 2022 17:22:35 +0000 (10:22 -0700)
commit21e7d8814063d8c5ada74464e30bf0c5188f1f80
tree0f88f351bdacb75e17c715ce35d619248f5d1bad
parent97a9db6ffb13a49dfe0565b65275b935f4e4d620
object-file.c: factor out deflate part of write_loose_object()

Split out the part of write_loose_object() that deals with calling
git_deflate() into a utility function, a subsequent commit will
introduce another function that'll make use of it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.c