Skip to content

Commit

Permalink
survey: default to --top=10 (git-for-windows#5200)
Browse files Browse the repository at this point in the history
Currently, it defaults to 100, which is a bit excessive given that there
are multiple tables with that maximum row count.

Let's default to 10 instead. It's easy enough to increase the limit via
command-line or config.
  • Loading branch information
dscho authored Oct 9, 2024
2 parents c5d00b2 + eeca006 commit 85dac07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/survey.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ int cmd_survey(int argc, const char **argv, const char *prefix, struct repositor
.opts = {
.verbose = 0,
.show_progress = -1, /* defaults to isatty(2) */
.top_nr = 100,
.top_nr = 10,

.refs.want_all_refs = -1,

Expand Down

0 comments on commit 85dac07

Please sign in to comment.