X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/b39e32df197bb9edf1909b194374d90c59e7d407..45fc3eb10b5bf03031edf96d1576bba77a0aaa96:/vcsh?ds=inline diff --git a/vcsh b/vcsh index 71789fa..d778100 100755 --- a/vcsh +++ b/vcsh @@ -131,6 +131,7 @@ info() { } clone() { + hook pre-clone init git remote add origin "$GIT_REMOTE" git config branch.master.remote origin @@ -149,6 +150,7 @@ clone() { fatal "will stop after fetching and not try to merge! 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 } delete() {