Whamcloud - gitweb
LU-1756 kernel: clean up lustre_compat25.h
[fs/lustre-release.git] / autogen.sh
index a32c3f8..1fce0a4 100644 (file)
@@ -1,2 +1,9 @@
 #!/bin/sh
+
+# install Lustre Git commit hooks by default - LU-2083
+for HOOK in commit-msg prepare-commit-msg; do
+       [ -e .git/hooks/$HOOK ] || ln -sf ../build/$HOOK .git/hooks/
+done
+
 exec bash build/autogen.sh $@ 
+