mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
Merge pull request #958 from cruser42/master
URGENT: Fix for bug introduced in pull request 925
This commit is contained in:
commit
1120f97305
1 changed files with 5 additions and 5 deletions
10
lib/git.zsh
10
lib/git.zsh
|
@ -69,11 +69,6 @@ git_prompt_status() {
|
||||||
echo $STATUS
|
echo $STATUS
|
||||||
}
|
}
|
||||||
|
|
||||||
#this is unlikely to change so make it all statically assigned
|
|
||||||
POST_1_7_2_GIT=$(git_compare_version "1.7.2")
|
|
||||||
#clean up the namespace slightly by removing the checker function
|
|
||||||
unset -f git_compare_version()
|
|
||||||
|
|
||||||
#compare the provided version of git to the version installed and on path
|
#compare the provided version of git to the version installed and on path
|
||||||
#prints 1 if input version <= installed version
|
#prints 1 if input version <= installed version
|
||||||
#prints -1 otherwise
|
#prints -1 otherwise
|
||||||
|
@ -93,4 +88,9 @@ function git_compare_version() {
|
||||||
echo 1
|
echo 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#this is unlikely to change so make it all statically assigned
|
||||||
|
POST_1_7_2_GIT=$(git_compare_version "1.7.2")
|
||||||
|
#clean up the namespace slightly by removing the checker function
|
||||||
|
unset -f git_compare_version
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue