summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Rodriguez <carlos@eddorre.com>2012-02-21 09:45:49 -0800
committerCarlos Rodriguez <carlos@eddorre.com>2012-02-21 09:45:49 -0800
commit1120f973054836eeb53750f57d69fbec41a340dc (patch)
tree347a03cc674cc657687750c62824def4bfce9cc2
parent631e3d8e03f77e1292370375f39fc6688e606350 (diff)
parent5a5c93b33493b47d34dd470eb851aaf24fa87536 (diff)
downloadzsh-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.zsh10
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
+