feat: Allow configuring recent commits and stash list limits#402
Merged
altsem merged 1 commit intoaltsem:masterfrom Sep 16, 2025
Merged
Conversation
1b702e2 to
1f843df
Compare
altsem
approved these changes
Sep 16, 2025
Owner
altsem
left a comment
There was a problem hiding this comment.
Looks good! sorry for the delay
The general.recent_commits_limit and general.stash_list_limit options can be used to configure each of these limits. They both default to 10.
1f843df to
b30e011
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #402 +/- ##
==========================================
+ Coverage 86.26% 86.32% +0.06%
==========================================
Files 70 70
Lines 7018 7050 +32
==========================================
+ Hits 6054 6086 +32
Misses 964 964 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
general.recent_commits_limitandgeneral.stash_list_limitoptions can be used to configure each of these limits. They both default to 10.Magit has
magit-log-section-commit-countfor the recent commits. However, I'm not sure Magit lets you configure the stash limit (directly), there doesn't seem to be an option and I have myself run into this annoyance when one has lots of stashes. 🫢