X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/161df8ce58683ded1700902c0d41b584130477de..45fc3eb10b5bf03031edf96d1576bba77a0aaa96:/vcsh?ds=sidebyside 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() {