aboutsummaryrefslogtreecommitdiff
path: root/useful_files/git-hooks/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'useful_files/git-hooks/pre-commit')
-rwxr-xr-xuseful_files/git-hooks/pre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/useful_files/git-hooks/pre-commit b/useful_files/git-hooks/pre-commit
new file mode 100755
index 0000000..a475759
--- /dev/null
+++ b/useful_files/git-hooks/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+DIRNAME=`dirname "$0"`
+python2.7 $DIRNAME/pre-commit.py $@