]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
fetch-pack: move --keep=* option filling to a function
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 16 May 2022 20:11:01 +0000 (20:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 May 2022 22:02:09 +0000 (15:02 -0700)
commit1f6cf4508ed554b473bb1e5cf89df18f617fe2a2
tree5db27d00426b5526d61f4d2a329a26720a3620b2
parenta6e65fb39caf18259c660c1c7910d5bf80bc15cb
fetch-pack: move --keep=* option filling to a function

Move the populating of the --keep=* option argument to "index-pack" to
a static function, a subsequent commit will make use of it in another
function.

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>
fetch-pack.c