]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/multi-pack-index.c: don't enter bogus cmd_mode
authorTaylor Blau <me@ttaylorr.com>
Tue, 30 Mar 2021 15:04:01 +0000 (11:04 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Mar 2021 19:16:56 +0000 (12:16 -0700)
commit690eb057198275b314b776688240fcc7f9e789d0
tree50803b2fc6cd19c8dc82a60e262505b0f189fafe
parent60ca94769ce45161c4bcfb4aa92212585d3da0f6
builtin/multi-pack-index.c: don't enter bogus cmd_mode

Even before the recent refactoring, 'git multi-pack-index' calls
'trace2_cmd_mode()' before verifying that the sub-command is recognized.

Push this call down into the individual sub-commands so that we don't
enter a bogus command mode.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/multi-pack-index.c