kdesrc-build: git pre-commit hooks

Allen Winter winter at kde.org
Sat Jul 29 23:24:54 BST 2017


Howdy,

Is there a way to add a git hooks automagically with the git clones done by kdesrc-build?

I have a pre-commit hook that I'd like to have for all my kde src repos.
also I have a pre-push hook , but that's less important to me.

a post clone command, something as simple this would be enough:
ln -s  /path/to/my/githooks/pre-commit.py .git/hooks/pre-commit





More information about the kde-core-devel mailing list