Repository: mesos
Updated Branches:
  refs/heads/master 4693728e4 -> 1d70aa029


Installed mesos pre commit hook and .gitignore on bootstrap.

Review: https://reviews.apache.org/r/26794


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1d70aa02
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1d70aa02
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1d70aa02

Branch: refs/heads/master
Commit: 1d70aa0297ac2cdeb29a889cf894c667de95714b
Parents: 4693728
Author: Cody Maloney <[email protected]>
Authored: Wed Oct 15 22:26:24 2014 -0700
Committer: Vinod Kone <[email protected]>
Committed: Wed Oct 15 22:28:12 2014 -0700

----------------------------------------------------------------------
 bootstrap | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/1d70aa02/bootstrap
----------------------------------------------------------------------
diff --git a/bootstrap b/bootstrap
index 5727550..12944e7 100755
--- a/bootstrap
+++ b/bootstrap
@@ -10,6 +10,15 @@ __EOF__
     exit 1
 fi
 
+# Install mesos default commit hook and gitignore template.
+if test ! -f .git/hooks/pre-commit; then
+  ln -s ../../support/hooks/pre-commit .git/hooks/pre-commit
+fi
+
+if test ! -f .gitignore; then
+  ln -s .gitignore-template .gitignore
+fi
+
 if [ -n "$AUTOMAKE" ] || [ -n "$ACLOCAL" ] ; then
     if [ -z "$ACLOCAL" ] || [ -z "$AUTOMAKE" ] ; then
         _present="AUTOMAKE"

Reply via email to