Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
vcsh
Commits
2c13ac4b
Commit
2c13ac4b
authored
Dec 19, 2015
by
Richard Hartmann
Browse files
vcsh: Fix condition in clone()
parent
b40cd1a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
vcsh
View file @
2c13ac4b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment