Use a symbolic link for the pre-commit client-side hook

This commit is contained in:
Edward Hervey 2009-01-30 08:57:53 +01:00
parent 9fc91546ea
commit e00732b9e6
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ fi
. common/gst-autogen.sh
# 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
cp common/hooks/pre-commit.hook .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

2
common

@ -1 +1 @@
Subproject commit 3f4e9974603807e7615c3a6b8821542abce0be19
Subproject commit f7bd42d4fa7f9b976fe5e697ff914e25f25e8853