X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/b40cd1a7fe1c45bd1f7f7f80802b157a41f97dfe..2c13ac4b6501fac484aef891a92a7e736401ebe9:/vcsh?ds=sidebyside diff --git a/vcsh b/vcsh index d77f7cc..98dd71e 100755 --- a/vcsh +++ b/vcsh @@ -160,7 +160,7 @@ clone() { exit fi GIT_VERSION_MAJOR=$(git --version | sed -n 's/.* \([0-9]\)\..*/\1/p' ) - if [ 2 -ge "$GIT_VERSION_MAJOR" ];then + if [ 1 -lt "$GIT_VERSION_MAJOR" ];then git fetch origin "$VCSH_BRANCH" else git fetch origin