-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase minimal required git version to 2.0 #19577
Conversation
We need also update documentation. from-binary.en-us.md |
Where? I didn't see hard-coded git version in that document, and I think we shouldn't put hard-coded version into it either .... the error message is clear enough when gitea is running. |
Or do you mean to change the line from
to
?? |
I think there are more version checks we now can remove |
* giteaofficial/main: Fix some slice problems (incorrect slice length) (go-gitea#19592) Fix sending empty notifications (go-gitea#19589) Handle the error of a missing blob object fix go-gitea#19530 (go-gitea#19552) Remove legacy `+build:` constraint (go-gitea#19582) Federation: return useful statistic information for nodeinfo (go-gitea#19561) Upgrade required git version to 2.0 (go-gitea#19577) add smtp password to install page (go-gitea#17564) ignore DNS error when doing migration allow/block check (go-gitea#19566) [skip ci] Updated translations via Crowdin Dont overwrite err with nil & rename PullCheckingFuncs to reflect there usage (go-gitea#19572) Improve UI on mobile (go-gitea#19546) Add API to check if team has repo access (go-gitea#19540)
* Upgrade required git version to 2.0 * update document
Close #19554
This PR only upgrades the
GitVersionRequired
variable to2.0.0
. All code for git 1.x are not changed, then if some users want to test with old git client or bypass the check, they still have a chance to edit the GitVersionRequired manually.Code for git 1.x could be removed in a separate PR before 1.17 frozen.
And since there are a lot of CentOS 7 users, a friendly hint is added to tell them how to install latest git client.
This PR makes Gitea require git >= 2.0, follow https://git-scm.com/download/ to install latest git client if your git is too old.