]> gitweb.fluxo.info Git - scripts.git/commitdiff
Sandbox: git-hooks support
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 6 Apr 2014 00:46:33 +0000 (21:46 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 6 Apr 2014 00:46:33 +0000 (21:46 -0300)
sandbox

diff --git a/sandbox b/sandbox
index a2495629e22e0102fd7d1be768214dcdeb15460b..acfdc557cdb0ed70c928e899e2e16f53c6169d78 100755 (executable)
--- 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