mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
Install and use pre-commit indentation hook from common
This commit is contained in:
parent
4627076310
commit
548a0d7f4b
2 changed files with 9 additions and 1 deletions
|
@ -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
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 5dc8ae302733ce1aae5b1aaa613ce77a8ae4b3d9
|
||||
Subproject commit 137543b7e782c811bc88bf9210323e7e75835d18
|
Loading…
Reference in a new issue