summaryrefslogtreecommitdiff
path: root/fuzz-pack-idx.c
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-08-23 14:30:17 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-08-30 17:06:18 -0700
commit84e4484f12895b6acd4047ba6776cede6a627f67 (patch)
tree04f1f291ebf5f9a3888f3637cd46c0813bc1b171 /fuzz-pack-idx.c
parentcommit-graph: remove redundant handling of -h (diff)
downloadtgif-84e4484f12895b6acd4047ba6776cede6a627f67.tar.xz
commit-graph: use parse_options_concat()
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" in 2087182272 (checkout: split options[] array in three pieces, 2019-03-29), and the same pattern in the multi-pack-index command, see 60ca94769ce (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>
Diffstat (limited to 'fuzz-pack-idx.c')
0 files changed, 0 insertions, 0 deletions