From: Silvio Rhatto Date: Sun, 6 Apr 2014 00:46:33 +0000 (-0300) Subject: Sandbox: git-hooks support X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=77340f7860152d7bd3bc1f2e6af979a4be14a73f;p=scripts.git Sandbox: git-hooks support --- diff --git a/sandbox b/sandbox index a249562..acfdc55 100755 --- a/sandbox +++ b/sandbox @@ -30,6 +30,10 @@ else git init git add . git commit -m "Initial import" + + if which git-hooks &> /dev/null; then + git hooks --install + fi ) fi