Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-2500 osp: osp_precreate_timeout_condition() to return 1
[fs/lustre-release.git]
/
autogen.sh
diff --git
a/autogen.sh
b/autogen.sh
index
3920385
..
1fce0a4
100644
(file)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-1,2
+1,9
@@
#!/bin/sh
-exec sh build/autogen.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 $@
+