]> Cypherpunks repositories - gostls13.git/commit
cmd/go: pass --no-decorate when listing git tags for a commit
authorhidu <duv123@gmail.com>
Thu, 3 Mar 2022 05:33:38 +0000 (13:33 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 28 Jun 2022 19:45:04 +0000 (19:45 +0000)
commita30f4346674ec43bf576e6f56a9cd1c7ca482e1f
tree4bdd9efa549b0ca666cc203dda65d70d90640ddc
parent3580ef9d64bdc0176cde032d170737a6e67ef8f2
cmd/go: pass --no-decorate when listing git tags for a commit

This avoids a parse error when the user's global .gitconfig sets
log.decorate to true.

Fixes #51312.

Change-Id: Ic47b0f604c0c3a404ec50d6e09f4e138045ac2f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/387835
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/go/internal/modfetch/codehost/git.go
src/cmd/go/testdata/script/mod_download_git_decorate_full.txt [new file with mode: 0644]