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

Add middleware to check for max filesize #8

Closed
sosedoff opened this issue Jul 18, 2018 · 0 comments
Closed

Add middleware to check for max filesize #8

sosedoff opened this issue Jul 18, 2018 · 0 comments

Comments

@sosedoff
Copy link
Owner

When handling a push that includes large files there should be a function or a check to inspect the filesize and reject the push if necessary. Git's pre-receive hook is not a good candidate since it will wait until all the objects are written on disk and then run the hook. Github does it somehow.

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

1 participant