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

feat(git-summary): add stashed count alongside uncommitted #1192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pierreay
Copy link

Problem

In git helpers, when querying the status of a repository, it is often desired or expected to see if there is one or more stash(es) inside a repository alongside uncommitted changes or files (or at least, to have the choice to do so).

Solution

Add a new column (after uncommitted, before author for long output style, before branch name for tabular or oneline output style) counting the number of stash(es) inside the repository.

@pierreay
Copy link
Author

TODO if necessary

If this PR is of interest for the maintainers, I can update the documentation/manpage to explicitly state that we check for stashes and to update the examples with the new output.

@pierreay pierreay marked this pull request as ready for review February 17, 2025 06:36
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.

1 participant