Install and use pre-commit indentation hook from common

This commit is contained in:
Edward Hervey 2009-01-22 05:57:53 +01:00
parent 28418d1fec
commit fcd4fb0f17
2 changed files with 9 additions and 1 deletions

View file

@ -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 $@

2
common

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