summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-22 05:57:53 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-22 05:57:53 +0100
commitfcd4fb0f17390237267a90bc0cd4ac8568c80bd9 (patch)
treed4d2f5cd0d763d144116b3af081c5a6fb42f59b8
parent28418d1fec71f6ec2575d5a6be4cf7cb9e470012 (diff)
Install and use pre-commit indentation hook from common
-rwxr-xr-xautogen.sh8
m---------common0
2 files changed, 8 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 5669627c..88416f05 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,6 +22,14 @@ 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-gtk-doc --enable-plugin-docs'
autogen_options $@
diff --git a/common b/common
-Subproject 5dc8ae302733ce1aae5b1aaa613ce77a8ae4b3d
+Subproject 137543b7e782c811bc88bf9210323e7e75835d1