Commit 2c13ac4b authored by Richard Hartmann's avatar Richard Hartmann
Browse files

vcsh: Fix condition in clone()

parent b40cd1a7
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment