diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-08-23 14:30:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-30 17:06:18 -0700 |
commit | 84e4484f12895b6acd4047ba6776cede6a627f67 (patch) | |
tree | 04f1f291ebf5f9a3888f3637cd46c0813bc1b171 /contrib/git-jump/README | |
parent | commit-graph: remove redundant handling of -h (diff) | |
download | tgif-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 'contrib/git-jump/README')
0 files changed, 0 insertions, 0 deletions