diff options
author | cruser42 <ao2391@columbia.edu> | 2012-02-21 10:47:05 -0500 |
---|---|---|
committer | cruser42 <ao2391@columbia.edu> | 2012-02-21 10:47:05 -0500 |
commit | 5a5c93b33493b47d34dd470eb851aaf24fa87536 (patch) | |
tree | 347a03cc674cc657687750c62824def4bfce9cc2 | |
parent | 631e3d8e03f77e1292370375f39fc6688e606350 (diff) | |
download | zsh-5a5c93b33493b47d34dd470eb851aaf24fa87536.tar.gz zsh-5a5c93b33493b47d34dd470eb851aaf24fa87536.tar.bz2 zsh-5a5c93b33493b47d34dd470eb851aaf24fa87536.zip |
Fixed bug introduced when fixing issue 896
-rw-r--r-- | lib/git.zsh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/git.zsh b/lib/git.zsh index d90f0f315..fb4ad8ca6 100644 --- a/lib/git.zsh +++ b/lib/git.zsh @@ -69,11 +69,6 @@ git_prompt_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 #prints 1 if input version <= installed version #prints -1 otherwise @@ -93,4 +88,9 @@ function git_compare_version() { 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 + |