diff options
Diffstat (limited to '')
-rwxr-xr-x | hooks/pre-commit | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit new file mode 100755 index 00000000..fb2209f0 --- /dev/null +++ b/hooks/pre-commit @@ -0,0 +1,5 @@ +#!/bin/sh +if [ -x ./packaging/check-files ] +then + exec git diff --cached | ./packaging/check-files - +fi |