Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
1120f973
Commit
1120f973
authored
Feb 21, 2012
by
Carlos Rodriguez
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #958 from cruser42/master
URGENT: Fix for bug introduced in pull request 925
parents
631e3d8e
5a5c93b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
git.zsh
lib/git.zsh
+5
-5
No files found.
lib/git.zsh
View file @
1120f973
...
@@ -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
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