From c391156f96357593fa18fccee305401e3f82a1a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Tue, 5 Jul 2022 16:14:22 +0100 Subject: [PATCH] cmd/go: set up git identity for build_buildvcs_auto.txt MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 ) not allowed Change-Id: I1c17c0d58c539b59154570b5438c7bd850bac5aa Reviewed-on: https://go-review.googlesource.com/c/go/+/416095 Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot Run-TryBot: Daniel Martí Reviewed-by: Dmitri Shuralyov --- src/cmd/go/testdata/script/build_buildvcs_auto.txt | 4 ++++ 1 file changed, 4 insertions(+) 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' -- 2.50.0