Install and use pre-commit indentation hook from common

This commit is contained in:
Edward Hervey 2009-01-22 06:10:50 +01:00
parent 0feb0631ec
commit 68477fae2b
2 changed files with 9 additions and 1 deletions

View file

@ -25,6 +25,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-plugin-builddir --enable-debug --enable-DEBUG'
autogen_options $@

2
common

@ -1 +1 @@
Subproject commit 5dc8ae302733ce1aae5b1aaa613ce77a8ae4b3d9
Subproject commit 137543b7e782c811bc88bf9210323e7e75835d18