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

pre-receive hook doesn't run if repository doesn't exist #171

Open
Napoleon-BlownApart opened this issue Feb 24, 2018 · 3 comments
Open

Comments

@Napoleon-BlownApart
Copy link

Napoleon-BlownApart commented Feb 24, 2018

I've setup a global pre-receive hook on my own server (Ubunto 16.04.2 with Git 2.16.2), which works fine with existing repositories. However, if the repository does not exist, the script does not run and I get a client side error instead.
Is there a server side hook I can use that will run when someone tries to push to a repo that doesn't exist? Or, how else can I catch the event?

@pornpailin0328
Copy link

เปิดใช้งาน

@Napoleon-BlownApart
Copy link
Author

Please translate!

@Napoleon-BlownApart
Copy link
Author

Any comments on this?
Having this feature would enable local mirroring of Swift Dependencies, thus alleviating the need to download them repeatedly after performing distribution clean operations.

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

2 participants