Skip to content
This repository
Browse code

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
Carlos Rodriguez authored February 21, 2012

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  lib/git.zsh
10  lib/git.zsh
@@ -69,11 +69,6 @@ git_prompt_status() {
69 69
   echo $STATUS
70 70
 }
71 71
 
72  
-#this is unlikely to change so make it all statically assigned
73  
-POST_1_7_2_GIT=$(git_compare_version "1.7.2")
74  
-#clean up the namespace slightly by removing the checker function
75  
-unset -f git_compare_version()
76  
-
77 72
 #compare the provided version of git to the version installed and on path
78 73
 #prints 1 if input version <= installed version
79 74
 #prints -1 otherwise 
@@ -93,4 +88,9 @@ function git_compare_version() {
93 88
   echo 1
94 89
 }
95 90
 
  91
+#this is unlikely to change so make it all statically assigned
  92
+POST_1_7_2_GIT=$(git_compare_version "1.7.2")
  93
+#clean up the namespace slightly by removing the checker function
  94
+unset -f git_compare_version
  95
+
96 96
 

0 notes on commit 1120f97

Please sign in to comment.
Something went wrong with that request. Please try again.