mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
Use a symbolic link for the pre-commit client-side hook
This commit is contained in:
parent
1c3fb99252
commit
cd906c21f8
2 changed files with 4 additions and 4 deletions
|
@ -23,10 +23,10 @@ fi
|
||||||
. common/gst-autogen.sh
|
. common/gst-autogen.sh
|
||||||
|
|
||||||
# install pre-commit hook for doing clean commits
|
# install pre-commit hook for doing clean commits
|
||||||
if test ! -x .git/hooks/pre-commit;
|
if test ! \( -x .git/hooks/pre-commit -a -L .git/hooks/pre-commit \);
|
||||||
then
|
then
|
||||||
cp common/hooks/pre-commit.hook .git/hooks/pre-commit
|
rm -f .git/hooks/pre-commit
|
||||||
chmod +x .git/hooks/pre-commit
|
ln -s ../../common/hooks/pre-commit.hook .git/hooks/pre-commit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 3f4e9974603807e7615c3a6b8821542abce0be19
|
Subproject commit f7bd42d4fa7f9b976fe5e697ff914e25f25e8853
|
Loading…
Reference in a new issue