]> git.ipfire.org Git - thirdparty/git.git/commit - bundle.c
bundle API: change "flags" to be "extra_index_pack_args"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 5 Sep 2021 07:34:43 +0000 (09:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Sep 2021 17:59:23 +0000 (10:59 -0700)
commit7366096de9d3e4aee4b49dfdf0438a8636187a84
tree4f22136f699462053d9264a91fc258e72e1a5b46
parent08342573792e9af79bf41b32c45ac471d25303bc
bundle API: change "flags" to be "extra_index_pack_args"

Since the "flags" parameter was added in be042aff24c (Teach progress
eye-candy to fetch_refs_from_bundle(), 2011-09-18) there's never been
more than the one flag: BUNDLE_VERBOSE.

Let's have the only caller who cares about that pass "-v" itself
instead through new "extra_index_pack_args" parameter. The flexibility
of being able to pass arbitrary arguments to "unbundle" will be used
in a subsequent commit.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/bundle.c
bundle.c
bundle.h
transport.c