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

Do not reject push with big file deletions #11

Closed
ekho opened this issue Jan 14, 2016 · 6 comments
Closed

Do not reject push with big file deletions #11

ekho opened this issue Jan 14, 2016 · 6 comments
Assignees
Labels
Milestone

Comments

@ekho
Copy link

ekho commented Jan 14, 2016

dd if=/dev/zero of=big.file bs=1024k count=1 # creating "big" file
git add big.file
git commit -m "+ big.file"
git push
# enable hook with limit 1024 bytes
git rm big.file
git commit -m "- big.file"
git push

remote: =================================
remote: File [big.file] is too large. Maximum allowed file size is 1024 bytes
remote: =================================
To ssh://git@git.example.com:7999/test/test.git
! [remote rejected] master -> master (pre-receive hook declined)

@christiangalsterer
Copy link
Owner

I'll will look into this in the next days.

@christiangalsterer
Copy link
Owner

@ekho Which version of the plugin and Bitbucket Server (Stash) are you using. Normally "delete" changes are not considered for the plugin.

@ekho
Copy link
Author

ekho commented Jan 20, 2016

Latest available at marketplace - 2.1.1
_051

@christiangalsterer
Copy link
Owner

I found the bug and will try to provide a fix in the next days.

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

A new release 2.1.2 is available fixing this issue.

@ekho
Copy link
Author

ekho commented Jan 22, 2016

Thank you!

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

No branches or pull requests

2 participants