Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

survey: default to --top=10 #5200

Merged

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 <stolee@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@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