minium git version required when using go mod?

81 views
Skip to first unread message

xie cui

unread,
Jun 23, 2022, 10:15:50 PM6/23/22
to golang-nuts
what is minium git version when using go mod?

Kurtis Rader

unread,
Jun 23, 2022, 10:34:47 PM6/23/22
to xie cui, golang-nuts
On Thu, Jun 23, 2022 at 7:16 PM xie cui <cuiw...@gmail.com> wrote:
what is minium git version when using go mod?

That's an interesting question. What prompted it?

I googled "golang minimum git version" and got a few relevant results. Such as https://github.com/golang/go/issues/51467

The core issue is that Go 1.18 added the use of git flag --no-show-signature which was added a long time ago (2015?) but some distros (e.g., CentOS 7) officially support only an older version of git. Of course, this all begs the question why, if you're willing to install a new version of Go, you're not willing to install a new version of Git? :-)

--
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank
Reply all
Reply to author
Forward
0 new messages