Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
1120f973
Commit
1120f973
authored
Feb 21, 2012
by
Carlos Rodriguez
Browse files
Merge pull request #958 from cruser42/master
URGENT: Fix for bug introduced in pull request 925
parents
631e3d8e
5a5c93b3
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/git.zsh
View file @
1120f973
...
...
@@ -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
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment