bundle: remove ignored & undocumented "--verbose" flag

In 73c3253d75e (bundle: framework for options before bundle file, 2019-11-10) the "git bundle" command was refactored to use parse_options(). In that refactoring it started understanding the "--verbose" flag before the subcommand, e.g.: git bundle --verbose verify --quiet However, nothing ever did anything with this "verbose" variable, and the change wasn't documented. It appears to have been something that escaped the lab, and wasn't flagged by reviewers at the time. Let's just remove it. 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>

Ævar Arnfjörð Bjarmason committed Sep 23, 2021 at 18:48 UTC f188160be9e17cba00cc4e0e501c1ab74e88fc80
1 file changed -3
builtin/bundle.c
-3
@@ -39,8 +39,6 @@ static const char * const builtin_bundle_unbundle_usage[] = {
39 NULL
40 };
41
42 -static int verbose;
43 -
42 static int parse_options_cmd_bundle(int argc,
43 const char **argv,
44 const char* prefix,
@@ -188,7 +186,6 @@ cleanup:
186 int cmd_bundle(int argc, const char **argv, const char *prefix)
187 {
188 struct option options[] = {
191 - OPT__VERBOSE(&verbose, N_("be verbose; must be placed before a subcommand")),
189 OPT_END()
190 };
191 int result;