From e178329b4561c729b432a5b66010973d60d2649c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20L=C3=B3pez?= Date: Wed, 21 Nov 2018 22:37:08 +0000 Subject: Upgraded minimum Git version to 2.18.0 --- changelogs/unreleased/fj-47494-upgrade-git-to-2-18-0.yml | 5 +++++ doc/install/installation.md | 2 +- lib/system_check/app/git_version_check.rb | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 changelogs/unreleased/fj-47494-upgrade-git-to-2-18-0.yml diff --git a/changelogs/unreleased/fj-47494-upgrade-git-to-2-18-0.yml b/changelogs/unreleased/fj-47494-upgrade-git-to-2-18-0.yml new file mode 100644 index 00000000000..0f01552ff7e --- /dev/null +++ b/changelogs/unreleased/fj-47494-upgrade-git-to-2-18-0.yml @@ -0,0 +1,5 @@ +--- +title: Upgrade minimum required Git version to 2.18.0 +merge_request: 22803 +author: +type: other diff --git a/doc/install/installation.md b/doc/install/installation.md index cac97b63d92..06293b8caf5 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -79,7 +79,7 @@ Make sure you have the right version of Git installed # Install Git 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 Is the system packaged Git too old? Remove it and compile from source. diff --git a/lib/system_check/app/git_version_check.rb b/lib/system_check/app/git_version_check.rb index 994af3ab53e..7c3e7759dd0 100644 --- a/lib/system_check/app/git_version_check.rb +++ b/lib/system_check/app/git_version_check.rb @@ -7,7 +7,7 @@ module SystemCheck set_check_pass -> { "yes (#{self.current_version})" } def self.required_version - @required_version ||= Gitlab::VersionInfo.new(2, 9, 5) + @required_version ||= Gitlab::VersionInfo.parse('2.18.0') end def self.current_version -- cgit v1.2.1