-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go get fails with git version 1.7.1 on CentOS 6.9 #28550
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
Comments
Actually, we added the Most recent systems have 2.7.4. Git 1.7 seems to have been released on 2010. Not sure how far back are we willing to go to support git versions. Perhaps it goes back to @bcmills' comment here to explicitly specify a minimum git version. |
#26746 tracks defining a minimum support version of git (or perhaps instead a set of supported distro versions). One comment from there:
1.7 is pretty old. @adam8157 are you able to upgrade your version of git? |
FWIW, |
According to the table at https://wiki.centos.org/About/Product, CentOS6 is currently on version 6.10. Any idea whether that comes with a newer Git? |
Looks like it is still git 1.7.1. Since CentOS is intended to be long term stable, they are unlikely to update anything except to fix bugs. |
This happens on my testing env which is the same as my deployment env, it's OK to upgrade. However, I guess CentOS/RHEL 6 is still a big player, especially as the production OS, in the Linux world. |
As a workaround, note that you can set |
I believe this can be closed with CentOS 6 having reached EOL on 2020-11-30 Current policy is at #26746 (comment) |
What version of Go are you using (
go version
)?What did you do?
Just
go get
something with the Modules modeWhat happened?
Root cause
git command below is what
go get -x
shows.The text was updated successfully, but these errors were encountered: