Commit ad2a528f authored by Paul Okstad's avatar Paul Okstad Committed by Evan Read

Update minimum Git version to v2.24

parent 094529ff
...@@ -134,7 +134,7 @@ Make sure you have the right version of Git installed: ...@@ -134,7 +134,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.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 git --version
``` ```
......
...@@ -50,11 +50,11 @@ needs several Gems that have native extensions. ...@@ -50,11 +50,11 @@ needs several Gems that have native extensions.
### Go versions ### Go versions
The minimum required Go version is 1.12. The minimum required Go version is 1.13.
### Git versions ### 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). [dropped support for older versions](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/54255).
### Node.js versions ### Node.js versions
......
...@@ -192,6 +192,16 @@ possible. ...@@ -192,6 +192,16 @@ possible.
## Version specific upgrading instructions ## 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 ### 12.2.0
In 12.2.0, we enabled Rails' authenticated cookie encryption. Old sessions are 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 ...@@ -122,12 +122,17 @@ rm go1.13.5.linux-amd64.tar.gz
### 6. Update Git ### 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: In Debian or Ubuntu:
```shell ```shell
# Make sure Git is version 2.21.0 or higher # Make sure Git is version 2.24.0 or higher
git --version git --version
# Remove packaged Git # Remove packaged Git
...@@ -147,9 +152,9 @@ make install ...@@ -147,9 +152,9 @@ make install
# Download and compile from source # Download and compile from source
cd /tmp cd /tmp
curl --remote-name --location --progress https://www.kernel.org/pub/software/scm/git/git-2.21.0.tar.gz curl --remote-name --location --progress https://www.kernel.org/pub/software/scm/git/git-2.26.0.tar.gz
echo '85eca51c7404da75e353eba587f87fea9481ba41e162206a6f70ad8118147bee git-2.21.0.tar.gz' | shasum -a256 -c - && tar -xzf git-2.21.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.21.0/ cd git-2.26.0/
./configure --with-libpcre ./configure --with-libpcre
make prefix=/usr/local all 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