Lukas Fleischer <[email protected]> wrote: > In order to `git push` a package repository, you need to add your SSH > public key to the AUR profile which means you need to log into the web > interface and accept the ToS. No need for something complicated > involving Git hooks and email address filters.
You're right, I forgot about that. The only real purpose of having a hook would just be to serve as a reminder. Johannes L?thberg <[email protected]> wrote: > This is Git, not SVN. Sorry, I mixed my hooks up. Didn't mean to start a fight with that one. Both Johannes and Dan are right; it's impossible to have a pre-commit hook on the server side, but it's entirely possible to have a pre-receive hook on the server side. I believe both would have the same result if you put `exit 1` in them though (failing to apply commit).
