Commit f71296f5 authored by Evan Read's avatar Evan Read

Merge branch 'pokstad1-git-version-224' into 'master'

Update minimum Git version to v2.24

See merge request gitlab-org/gitlab!33436
parents 094529ff ad2a528f
......@@ -134,7 +134,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.26.2 or higher (minimal supported version is 2.22.0)
# Make sure Git is version 2.26.2 or higher (minimal supported version is 2.24.0)
git --version
```
......
......@@ -50,11 +50,11 @@ needs several Gems that have native extensions.
### Go versions
The minimum required Go version is 1.12.
The minimum required Go version is 1.13.
### Git versions
GitLab 11.11 and higher only supports Git 2.21.x and newer, and
GitLab 11.11 and higher only supports Git 2.24.x and newer, and
[dropped support for older versions](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/54255).
### Node.js versions
......
......@@ -192,6 +192,16 @@ possible.
## Version specific upgrading instructions
### 13.1.0
In 13.1.0, you must upgrade to either:
- At least Git v2.24 (previously, the minimum required version was Git v2.22).
- The recommended Git v2.26.
Failure to do so will result in internal errors in the Gitaly service in some RPCs due
to the use of the new `--end-of-options` Git flag.
### 12.2.0
In 12.2.0, we enabled Rails' authenticated cookie encryption. Old sessions are
......
......@@ -122,12 +122,17 @@ rm go1.13.5.linux-amd64.tar.gz
### 6. Update Git
NOTE: To check the minimum required Git version, see [Git versions](../install/requirements.md#git-versions).
CAUTION: **Caution:**
From GitLab 13.1, you must use at least Git v2.24 (previous minimum version was v2.22).
Git v2.26 is recommended.
To check you are running the minimum required Git version, see
[Git versions](../install/requirements.md#git-versions).
In Debian or Ubuntu:
```shell
# Make sure Git is version 2.21.0 or higher
# Make sure Git is version 2.24.0 or higher
git --version
# Remove packaged Git
......@@ -147,9 +152,9 @@ make install
# Download and compile from source
cd /tmp
curl --remote-name --location --progress https://www.kernel.org/pub/software/scm/git/git-2.21.0.tar.gz
echo '85eca51c7404da75e353eba587f87fea9481ba41e162206a6f70ad8118147bee git-2.21.0.tar.gz' | shasum -a256 -c - && tar -xzf git-2.21.0.tar.gz
cd git-2.21.0/
curl --remote-name --location --progress https://www.kernel.org/pub/software/scm/git/git-2.26.0.tar.gz
echo 'aa168c2318e7187cd295a645f7370cc6d71a324aafc932f80f00c780b6a26bed git-2.26.0.tar.gz' | shasum -a256 -c - && tar -xzf git-2.26.0.tar.gz
cd git-2.26.0/
./configure --with-libpcre
make prefix=/usr/local all
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment