mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
fix git_compare_version
This commit is contained in:
parent
0c1ba438c9
commit
0b336e8330
1 changed files with 3 additions and 0 deletions
|
|
@ -128,6 +128,9 @@ function git_compare_version() {
|
||||||
if [[ $INSTALLED_GIT_VERSION[$i] -lt $INPUT_GIT_VERSION[$i] ]]; then
|
if [[ $INSTALLED_GIT_VERSION[$i] -lt $INPUT_GIT_VERSION[$i] ]]; then
|
||||||
echo -1
|
echo -1
|
||||||
return 0
|
return 0
|
||||||
|
else
|
||||||
|
echo 1
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo 1
|
echo 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue