mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Make use of the parse_options_concat() so we don't need to copy/paste common options like --object-dir. This is inspired by a similar change to "checkout" in2087182272(checkout: split options[] array in three pieces, 2019-03-29), and the same pattern in the multi-pack-index command, see60ca94769c(builtin/multi-pack-index.c: split sub-commands, 2021-03-30). A minor behavior change here is that now we're going to list both --object-dir and --progress first, before we'd list --progress along with other options. Co-authored-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Reviewed-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
9.3 KiB
9.3 KiB