]> git.ipfire.org Git - thirdparty/git.git/commit - bundle.c
bundle.h: make "fd" version of read_bundle_header() public
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 16 May 2022 20:11:05 +0000 (20:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 May 2022 22:02:10 +0000 (15:02 -0700)
commit89c6e450fe4a919ecb6fa698005a935531c732cf
treeecb661286f28b0cc5c42a756c18a6cba7a858e1a
parent834e3520ab6435073ef58922b24d732f96cdf461
bundle.h: make "fd" version of read_bundle_header() public

Change the parse_bundle_header() function to be non-static, and rename
it to parse_bundle_header_fd(). The parse_bundle_header() function is
already public, and it's a thin wrapper around this function. This
will be used by code that wants to pass a fd to the bundle API.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bundle.c
bundle.h