From b03075c8f90e2f4bb0542c39f61b86daf39c9cce Mon Sep 17 00:00:00 2001 From: Keyi Xie Date: Fri, 9 Oct 2020 19:27:40 +0800 Subject: [PATCH] hooks: correct the pre-commit soft link (#19422) --- hooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/pre-commit b/hooks/pre-commit index 065abcf0d6ddd..c10007e65031a 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -5,7 +5,7 @@ # The PR is https://github.com/kubernetes/kubernetes/pull/47673 # How to use this hook? -# ln -s hooks/pre-commit .git/hooks/ +# ln -s ../../hooks/pre-commit .git/hooks/pre-commit # In case hook is not executable # chmod +x .git/hooks/pre-commit