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 reject tags? #7

Closed
jsmarsch opened this issue Oct 14, 2015 · 5 comments
Closed

Don't reject tags? #7

jsmarsch opened this issue Oct 14, 2015 · 5 comments
Assignees
Milestone

Comments

@jsmarsch
Copy link

So I have a git repo where there used to be some large .bak files. No current commits should point to them, but when we do a

git tag -a tagname
git push origin tagname

the filesize hook blocks tag commit based upon size.

I could work around this if there were a way to exclude specific files from the size filter (there are only 3), but my attempts to do so have failed.

@christiangalsterer
Copy link
Owner

There is another request open to be able to exclude tags completely (#3), which should solve your problem.
In addition I think to add an option to also to allow to specify an exclude pattern.

@christiangalsterer
Copy link
Owner

Added an option in version 2.1.0 to specify exclude patterns, see #8. Hope to find some time in the next days to exclude tags completely from checks.

@christiangalsterer
Copy link
Owner

Bug fix release 2.1.1 available as 2.1.0 was incomplete

@jsmarsch
Copy link
Author

Nice! Excluding tags would still be a great addition.

@christiangalsterer christiangalsterer self-assigned this Jan 23, 2016
@christiangalsterer christiangalsterer added this to the 2.2.0 milestone Jan 23, 2016
@christiangalsterer
Copy link
Owner

I finally had some time and tags are now excluded from checks starting with version 2.2.0, which was just released to the Atlasssian Marketplace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants