Skip to content

Commit

Permalink
Fixed bug introduced when fixing issue 896
Browse files Browse the repository at this point in the history
  • Loading branch information
cruser42 committed Feb 21, 2012
1 parent 631e3d8 commit 5a5c93b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/git.zsh
Expand Up @@ -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
Expand All @@ -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


0 comments on commit 5a5c93b

Please sign in to comment.