Skip to content

Commit c391156

Browse files
committed
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 <[email protected]>) not allowed Change-Id: I1c17c0d58c539b59154570b5438c7bd850bac5aa Reviewed-on: https://go-review.googlesource.com/c/go/+/416095 Reviewed-by: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Daniel Martí <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 2acd364 commit c391156

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/cmd/go/testdata/script/build_buildvcs_auto.txt

+4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@
66

77
cd sub
88
exec git init .
9+
exec git config user.name 'Nameless Gopher'
10+
exec git config user.email '[email protected]'
911
exec git add sub.go
1012
exec git commit -m 'initial state'
1113
cd ..
1214

1315
exec git init
16+
exec git config user.name 'Nameless Gopher'
17+
exec git config user.email '[email protected]'
1418
exec git submodule add ./sub
1519
exec git add go.mod example.go
1620
exec git commit -m 'initial state'

0 commit comments

Comments
 (0)