diff options
author | Daniel Martí <mvdan@mvdan.cc> | 2022-07-05 16:14:22 +0100 |
---|---|---|
committer | Daniel Martí <mvdan@mvdan.cc> | 2022-07-06 17:17:08 +0000 |
commit | c391156f96357593fa18fccee305401e3f82a1a6 (patch) | |
tree | 6730003e326a3a22c53f9f100fc1eff456adea43 | |
parent | 2acd3646fc448b760e82fcace189adda94a1904a (diff) | |
download | go-c391156f96357593fa18fccee305401e3f82a1a6.tar.gz go-c391156f96357593fa18fccee305401e3f82a1a6.zip |
cmd/go: set up git identity for build_buildvcs_auto.txt
Just like in other tests like get_dotfiles.txt or
version_buildvcs_git.txt. Without it, I get a failure on my machine:
fatal: empty ident name (for <mvdan@p14s.localdomain>) not allowed
Change-Id: I1c17c0d58c539b59154570b5438c7bd850bac5aa
Reviewed-on: https://go-review.googlesource.com/c/go/+/416095
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
-rw-r--r-- | src/cmd/go/testdata/script/build_buildvcs_auto.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/build_buildvcs_auto.txt b/src/cmd/go/testdata/script/build_buildvcs_auto.txt index 9eac568045..dd9eef5f82 100644 --- a/src/cmd/go/testdata/script/build_buildvcs_auto.txt +++ b/src/cmd/go/testdata/script/build_buildvcs_auto.txt @@ -6,11 +6,15 @@ cd sub exec git init . +exec git config user.name 'Nameless Gopher' +exec git config user.email 'nobody@golang.org' exec git add sub.go exec git commit -m 'initial state' cd .. exec git init +exec git config user.name 'Nameless Gopher' +exec git config user.email 'nobody@golang.org' exec git submodule add ./sub exec git add go.mod example.go exec git commit -m 'initial state' |