Merge branch 'tb/commit-graph-usage-fix'
Regression in "git commit-graph" command line parsing has been corrected. * tb/commit-graph-usage-fix: builtin/multi-pack-index.c: disable top-level --[no-]progress builtin/commit-graph.c: don't accept common --[no-]progress
This commit is contained in:
@ -50,8 +50,6 @@ static struct option common_opts[] = {
|
||||
OPT_STRING(0, "object-dir", &opts.obj_dir,
|
||||
N_("dir"),
|
||||
N_("the object directory to store the graph")),
|
||||
OPT_BOOL(0, "progress", &opts.progress,
|
||||
N_("force progress reporting")),
|
||||
OPT_END()
|
||||
};
|
||||
|
||||
@ -73,6 +71,8 @@ static int graph_verify(int argc, const char **argv)
|
||||
static struct option builtin_commit_graph_verify_options[] = {
|
||||
OPT_BOOL(0, "shallow", &opts.shallow,
|
||||
N_("if the commit-graph is split, only verify the tip file")),
|
||||
OPT_BOOL(0, "progress", &opts.progress,
|
||||
N_("force progress reporting")),
|
||||
OPT_END(),
|
||||
};
|
||||
struct option *options = add_common_options(builtin_commit_graph_verify_options);
|
||||
@ -224,6 +224,8 @@ static int graph_write(int argc, const char **argv)
|
||||
OPT_CALLBACK_F(0, "max-new-filters", &write_opts.max_new_filters,
|
||||
NULL, N_("maximum number of changed-path Bloom filters to compute"),
|
||||
0, write_option_max_new_filters),
|
||||
OPT_BOOL(0, "progress", &opts.progress,
|
||||
N_("force progress reporting")),
|
||||
OPT_END(),
|
||||
};
|
||||
struct option *options = add_common_options(builtin_commit_graph_write_options);
|
||||
|
||||
Reference in New Issue
Block a user