Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Oct 9, 2024

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.

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]>
@dscho dscho requested a review from derrickstolee October 9, 2024 10:45
@dscho dscho self-assigned this Oct 9, 2024
@dscho dscho added this to the Next release milestone Oct 9, 2024
@dscho dscho merged commit 85dac07 into git-for-windows:main Oct 9, 2024
45 checks passed
@dscho dscho deleted the reduce-default-limit-in-git-survey branch October 9, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants