From c904c7206385a34d985e97924726b797e92078c3 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 30 Jan 2009 08:59:21 +0100 Subject: [PATCH] Use a symbolic link for the pre-commit client-side hook --- autogen.sh | 2 +- common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 089748b..0931508 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 diff --git a/common b/common index b6a6538..f7bd42d 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit b6a6538e624a4d09e9a35f35dc5988466a1f4737 +Subproject commit f7bd42d4fa7f9b976fe5e697ff914e25f25e8853 -- 2.7.4