URGENT: Fix for bug introduced in pull request 925
Carlos Rodriguez authored on 21/02/2012 at 17:45:49... | ... |
@@ -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 | 93 |
echo 1 |
94 | 94 |
} |
95 | 95 |
|
96 |
+#this is unlikely to change so make it all statically assigned |
|
97 |
+POST_1_7_2_GIT=$(git_compare_version "1.7.2") |
|
98 |
+#clean up the namespace slightly by removing the checker function |
|
99 |
+unset -f git_compare_version |
|
100 |
+ |
|
96 | 101 |
|