diff options
author | Carlos Rodriguez <carlos@eddorre.com> | 2012-02-21 09:45:49 -0800 |
---|---|---|
committer | Carlos Rodriguez <carlos@eddorre.com> | 2012-02-21 09:45:49 -0800 |
commit | 1120f973054836eeb53750f57d69fbec41a340dc (patch) | |
tree | 347a03cc674cc657687750c62824def4bfce9cc2 | |
parent | 631e3d8e03f77e1292370375f39fc6688e606350 (diff) | |
parent | 5a5c93b33493b47d34dd470eb851aaf24fa87536 (diff) | |
download | zsh-1120f973054836eeb53750f57d69fbec41a340dc.tar.gz zsh-1120f973054836eeb53750f57d69fbec41a340dc.tar.bz2 zsh-1120f973054836eeb53750f57d69fbec41a340dc.zip |
Merge pull request #958 from cruser42/master
URGENT: Fix for bug introduced in pull request 925
-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 + |