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

Don't show objects that only in Stash #29

Closed
KindDragon opened this issue Mar 19, 2018 · 3 comments
Closed

Don't show objects that only in Stash #29

KindDragon opened this issue Mar 19, 2018 · 3 comments

Comments

@KindDragon
Copy link

No description provided.

@mhagger
Copy link
Member

mhagger commented Mar 20, 2018

I'm torn about whether this and #1 should be the default behavior or whether they should be options. For example, --stash/--no-stash, --notes/--no-notes, and/or even more flexible options like --include=refs/pull/*/--exclude=refs/changes/*.

Meanwhile, as a workaround, git sizer --branches --tags --remotes might be close to what you want.

@hexpunk
Copy link

hexpunk commented Apr 8, 2018

I think that git-sizer should warn about things like those that are uncommitted or things that are stashed. As @mhagger mentioned in #22, the goal of this project is to detect issues before they'd call for drastic action like a history rewrite.

@mhagger
Copy link
Member

mhagger commented Apr 23, 2021

This can now be accomplished using the new feature --exclude=refs/stash, introduced in #75. It could be made more convenient using helper options like --stash / --no-stash (see #77), but I'll nevertheless mark this wish done for now.

@mhagger mhagger closed this as completed Apr 23, 2021
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

No branches or pull requests

3 participants