Merge pull request #958 from cruser42/master
URGENT: Fix for bug introduced in pull request 925
Diff
1diff --git a/lib/git.zsh b/lib/git.zsh
2index d90f0f3150d9ecd581705187f76e1d5e4c556890..fb4ad8ca64ffbf7bcfd34ca82b1acbe8947d36bf 100644
3--- a/lib/git.zsh
4+++ b/lib/git.zsh
5@@ -69,11 +69,6 @@ git_prompt_status() {
6 echo $STATUS
7 }
8 9-#this is unlikely to change so make it all statically assigned
10-POST_1_7_2_GIT=$(git_compare_version "1.7.2")
11-#clean up the namespace slightly by removing the checker function
12-unset -f git_compare_version()
13-
14 #compare the provided version of git to the version installed and on path
15 #prints 1 if input version <= installed version
16 #prints -1 otherwise
17@@ -93,4 +88,9 @@ function git_compare_version() {
18 echo 1
19 }
2021+#this is unlikely to change so make it all statically assigned
22+POST_1_7_2_GIT=$(git_compare_version "1.7.2")
23+#clean up the namespace slightly by removing the checker function
24+unset -f git_compare_version
25+
26