Install and use pre-commit indentation hook from common

This commit is contained in:
Edward Hervey 2009-01-22 06:16:14 +01:00
parent 4627076310
commit 548a0d7f4b
2 changed files with 9 additions and 1 deletions

View file

@ -47,6 +47,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
# Let's check if we can disable the building of the ffmpeg binary
can_disable=`$FFMPEG_CO_DIR/configure --help | grep 'disable-ffmpeg' | wc -l`

2
common

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