diff --git a/doc/hooks b/doc/hooks index 5547131cddc8c625e095bf13789833ac403a7fd6..81215727ae3641e114cc57aef0c3bbdb0354a84e 100644 --- a/doc/hooks +++ b/doc/hooks @@ -1,9 +1,14 @@ Available hooks are: -pre-command -post-command -pre-enter -post-enter -pre-run -post-run -pre-upgrade -post-upgrade + +* pre-command +* post-command +* pre-hook +* post-hook +* post-hook-cleared + use this if you need to operate on different git repositories after cloning +* pre-enter +* post-enter +* pre-run +* post-run +* pre-upgrade +* post-upgrade diff --git a/vcsh b/vcsh index 15ea0984f87a0540caef0c146fb76ca481d2bf86..c6257fe184be734c129fb84a37be5036ffe9ba9a 100755 --- a/vcsh +++ b/vcsh @@ -153,6 +153,8 @@ clone() { Once this situation has been resolved, run 'vcsh run $VCSH_REPO_NAME git pull' to finish cloning.\n" 17 git merge origin/master hook post-clone + retire + hook post-clone-retired } delete() {