aboutsummaryrefslogtreecommitdiff
path: root/sandbox
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-05 21:46:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-05 21:46:33 -0300
commit77340f7860152d7bd3bc1f2e6af979a4be14a73f (patch)
treedd26412abdc330517dd60766dcd1f46f5be6d7d1 /sandbox
parent21e89cf280fdf1aa770ca5d2e87f71c3dfc815ac (diff)
downloadscripts-77340f7860152d7bd3bc1f2e6af979a4be14a73f.tar.gz
scripts-77340f7860152d7bd3bc1f2e6af979a4be14a73f.tar.bz2
Sandbox: git-hooks support
Diffstat (limited to 'sandbox')
-rwxr-xr-xsandbox4
1 files changed, 4 insertions, 0 deletions
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