Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #958 from cruser42/master

URGENT: Fix for bug introduced in pull request 925
  • Loading branch information...
commit 1120f973054836eeb53750f57d69fbec41a340dc 2 parents 631e3d8 + 5a5c93b
@eddorre eddorre authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/git.zsh
View
10 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
+
Please sign in to comment.
Something went wrong with that request. Please try again.