diff --git a/.githooks/post-merge b/.githooks/post-merge index 0c269552a3c624ff4fdfa22f22e428d578cbe942..97b5562382713a368cb4d489372d97401abaa82c 100755 --- a/.githooks/post-merge +++ b/.githooks/post-merge @@ -1,6 +1,8 @@ #!/bin/sh set -eu cd "$(git rev-parse --show-toplevel)" +echo Installing Git hooks +Documents/bin/install-git-hooks echo Generating SSH config Documents/bin/gen-ssh-config echo Loading dconf config diff --git a/README.rst b/README.rst index 08a41d0c0c0edd0abd62724dd1075bb077904430..b19a539a84afa12cd4b18e1ad8f3a53efe11e1ff 100644 --- a/README.rst +++ b/README.rst @@ -22,9 +22,7 @@ WARNING: This will overwrite your existing files. sed -i '/bare/d' .git/config git reset --hard git bull - cd .githooks - find -type f -exec ln -sf ../../.githooks/{} ../.git/hooks/ \; - cd ../ + Documents/bin/install-git-hooks License -------