diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-08-23 14:30:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-30 17:06:18 -0700 |
commit | 8722f9fb6b7705a3354e2d40d6dba0b86c1dab0d (patch) | |
tree | a32fc013b1ec98b943a132a6dc205b3fbacdf6d3 /t/t9303-fast-import-compression.sh | |
parent | commit-graph: define common usage with a macro (diff) | |
download | tgif-8722f9fb6b7705a3354e2d40d6dba0b86c1dab0d.tar.xz |
commit-graph: remove redundant handling of -h
If we don't handle the -h option here like most parse_options() users
we'll fall through and it'll do the right thing for us.
I think this code added in 4ce58ee38d (commit-graph: create
git-commit-graph builtin, 2018-04-02) was always redundant,
parse_options() did this at the time, and the commit-graph code never
used PARSE_OPT_NO_INTERNAL_HELP.
We don't need a test for this, it's tested by the t0012-help.sh test
added in d691551192a (t0012: test "-h" with builtins, 2017-05-30).
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 't/t9303-fast-import-compression.sh')
0 files changed, 0 insertions, 0 deletions