From: Richard Hartmann Date: Wed, 10 Jul 2013 09:48:12 +0000 (+0200) Subject: Add hook post-clone-cleared X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/7a4a2b90df890c2eea6f84c0bdd1c74071d9de2d?ds=inline;hp=-c Add hook post-clone-cleared --- 7a4a2b90df890c2eea6f84c0bdd1c74071d9de2d diff --git a/doc/hooks b/doc/hooks index 5547131..8121572 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 15ea098..c6257fe 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() {