Use a symbolic link for the pre-commit client-side hook
This commit is contained in:
parent
ad201dca69
commit
c904c72063
@ -26,7 +26,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
2
common
@ -1 +1 @@
|
||||
Subproject commit b6a6538e624a4d09e9a35f35dc5988466a1f4737
|
||||
Subproject commit f7bd42d4fa7f9b976fe5e697ff914e25f25e8853
|
Loading…
x
Reference in New Issue
Block a user