From: Richard Hartmann Date: Sat, 19 Dec 2015 15:28:54 +0000 (+0100) Subject: vcsh: Fix condition in clone() X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/2c13ac4b6501fac484aef891a92a7e736401ebe9?ds=inline vcsh: Fix condition in clone() --- 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