Skip to content

Commit f188160

Browse files
avargitster
authored andcommitted
bundle: remove ignored & undocumented "--verbose" flag
In 73c3253 (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 <[email protected]> Reviewed-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 225bc32 commit f188160

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

builtin/bundle.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ static const char * const builtin_bundle_unbundle_usage[] = {
3939
NULL
4040
};
4141

42-
static int verbose;
43-
4442
static int parse_options_cmd_bundle(int argc,
4543
const char **argv,
4644
const char* prefix,
@@ -188,7 +186,6 @@ static int cmd_bundle_unbundle(int argc, const char **argv, const char *prefix)
188186
int cmd_bundle(int argc, const char **argv, const char *prefix)
189187
{
190188
struct option options[] = {
191-
OPT__VERBOSE(&verbose, N_("be verbose; must be placed before a subcommand")),
192189
OPT_END()
193190
};
194191
int result;

0 commit comments

Comments
 (0)