Commit 1120f973 authored by Carlos Rodriguez's avatar Carlos Rodriguez
Browse files

Merge pull request #958 from cruser42/master

URGENT: Fix for bug introduced in pull request 925
parents 631e3d8e 5a5c93b3
...@@ -69,11 +69,6 @@ git_prompt_status() { ...@@ -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
...@@ -93,4 +88,9 @@ function git_compare_version() { ...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment