Install and use pre-commit indentation hook from common

This commit is contained in:
Edward Hervey 2009-01-22 05:35:02 +01:00
parent 044b46ec98
commit f3a8ecdd10
2 changed files with 10 additions and 1 deletions

View file

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

2
common

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