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
5a5c93b3
Commit
5a5c93b3
authored
Feb 21, 2012
by
cruser42
Browse files
Fixed bug introduced when fixing issue 896
parent
631e3d8e
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/git.zsh
View file @
5a5c93b3
...
...
@@ -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