Skip to content

Commit 85dac07

Browse files
authored
survey: default to --top=10 (#5200)
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.
2 parents c5d00b2 + eeca006 commit 85dac07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/survey.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ int cmd_survey(int argc, const char **argv, const char *prefix, struct repositor
869869
.opts = {
870870
.verbose = 0,
871871
.show_progress = -1, /* defaults to isatty(2) */
872-
.top_nr = 100,
872+
.top_nr = 10,
873873

874874
.refs.want_all_refs = -1,
875875

0 commit comments

Comments
 (0)