From 853fd6e525839fb74f10e68b466a9d3a063cca2a Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Fri, 20 Jun 2014 08:31:51 -0700 Subject: [PATCH] Minor doc clarification regarding hooks symlinks. --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f9f604683..181beff33a 100644 --- a/README.md +++ b/README.md @@ -134,9 +134,12 @@ If you are a company and are looking for a more formal engagement with Google ar # Before committing any changes, please link/copy these hooks into your .git # directory. This will keep you from accidentally committing non-gofmt'd # go code. +# +# NOTE: The "../.." part seems odd but is correct, since the newly created +# links will be 2 levels down the tree. cd kubernetes -ln -s "../../hooks/prepare-commit-msg" .git/hooks/prepare-commit-msg -ln -s "../../hooks/commit-msg" .git/hooks/commit-msg +ln -s ../../hooks/prepare-commit-msg .git/hooks/prepare-commit-msg +ln -s ../../hooks/commit-msg .git/hooks/commit-msg ``` ### Unit tests