From 2c13ac4b6501fac484aef891a92a7e736401ebe9 Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Sat, 19 Dec 2015 16:28:54 +0100 Subject: [PATCH 1/1] vcsh: Fix condition in clone() --- vcsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5