From 7a4a2b90df890c2eea6f84c0bdd1c74071d9de2d Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Wed, 10 Jul 2013 11:48:12 +0200 Subject: [PATCH 1/1] Add hook post-clone-cleared --- doc/hooks | 21 +++++++++++++-------- vcsh | 2 ++ 2 files changed, 15 insertions(+), 8 deletions(-) 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() { -- 2.39.5