Skip to content

Commit eeca006

Browse files
committed
amend! survey: add --top=<N> option and config
survey: add --top=<N> option and config The 'git survey' builtin provides several detail tables, such as "top files by on-disk size". The size of these tables defaults to 10, currently. Allow the user to specify this number via a new --top=<N> option or the new survey.top config key. Signed-off-by: Derrick Stolee <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent c5d00b2 commit eeca006

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)