Skip to content

Commit

Permalink
Merge pull request ohmyzsh#958 from cruser42/master
Browse files Browse the repository at this point in the history
URGENT: Fix for bug introduced in pull request 925
  • Loading branch information
eddorre committed Feb 21, 2012
2 parents 631e3d8 + 5a5c93b commit 1120f97
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 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 #compare the provided version of git to the version installed and on path
#prints 1 if input version <= installed version #prints 1 if input version <= installed version
#prints -1 otherwise #prints -1 otherwise
Expand All @@ -93,4 +88,9 @@ function git_compare_version() {
echo 1 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 1120f97

Please sign in to comment.