Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e178329b
Commit
e178329b
authored
Nov 21, 2018
by
Francisco Javier López
Committed by
Nick Thomas
Nov 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgraded minimum Git version to 2.18.0
parent
62e0877d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/fj-47494-upgrade-git-to-2-18-0.yml
changelogs/unreleased/fj-47494-upgrade-git-to-2-18-0.yml
+5
-0
doc/install/installation.md
doc/install/installation.md
+1
-1
lib/system_check/app/git_version_check.rb
lib/system_check/app/git_version_check.rb
+1
-1
No files found.
changelogs/unreleased/fj-47494-upgrade-git-to-2-18-0.yml
0 → 100644
View file @
e178329b
---
title
:
Upgrade minimum required Git version to 2.18.0
merge_request
:
22803
author
:
type
:
other
doc/install/installation.md
View file @
e178329b
...
@@ -79,7 +79,7 @@ Make sure you have the right version of Git installed
...
@@ -79,7 +79,7 @@ Make sure you have the right version of Git installed
# Install Git
# Install Git
sudo apt-get install -y git-core
sudo apt-get install -y git-core
# Make sure Git is version 2.
9.5
or higher
# Make sure Git is version 2.
18.0
or higher
git --version
git --version
Is the system packaged Git too old? Remove it and compile from source.
Is the system packaged Git too old? Remove it and compile from source.
...
...
lib/system_check/app/git_version_check.rb
View file @
e178329b
...
@@ -7,7 +7,7 @@ module SystemCheck
...
@@ -7,7 +7,7 @@ module SystemCheck
set_check_pass
->
{
"yes (
#{
self
.
current_version
}
)"
}
set_check_pass
->
{
"yes (
#{
self
.
current_version
}
)"
}
def
self
.
required_version
def
self
.
required_version
@required_version
||=
Gitlab
::
VersionInfo
.
new
(
2
,
9
,
5
)
@required_version
||=
Gitlab
::
VersionInfo
.
parse
(
'2.18.0'
)
end
end
def
self
.
current_version
def
self
.
current_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