Install and use pre-commit indentation hook from common
authorEdward Hervey <bilboed@bilboed.com>
Thu, 22 Jan 2009 04:35:02 +0000 (05:35 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 22 Jan 2009 04:35:02 +0000 (05:35 +0100)
autogen.sh
common

index 6d3c129..c0c60ce 100755 (executable)
@@ -22,6 +22,15 @@ then
 fi
 . common/gst-autogen.sh
 
+# install pre-commit hook for doing clean commits
+if test ! -x .git/hooks/pre-commit;
+then
+    cp common/hooks/pre-commit.hook .git/hooks/pre-commit
+    chmod +x .git/hooks/pre-commit
+fi
+
+
+
 CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-failing-tests --enable-poisoning --enable-gtk-doc --enable-docbook'
 
 autogen_options $@
diff --git a/common b/common
index 5dc8ae3..137543b 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 5dc8ae302733ce1aae5b1aaa613ce77a8ae4b3d9
+Subproject commit 137543b7e782c811bc88bf9210323e7e75835d18