]> Cypherpunks repositories - gostls13.git/commit
cmd/go: replace the 'addcrlf' script command with a more general 'replace' command
authorBryan C. Mills <bcmills@google.com>
Wed, 31 Aug 2022 15:44:43 +0000 (11:44 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 24 Oct 2022 21:26:14 +0000 (21:26 +0000)
commit3617514de07278637b7ead51447d23c8799b1d60
tree8ee7d12da0db6f1c2f453ca10db01331bd286afb
parent3f84a3f324ba1f1e5baa919ed66585ed836eba30
cmd/go: replace the 'addcrlf' script command with a more general 'replace' command

This allows the "reuse_git" test to avoid depending on exact JSON
blobs, which will be important when the URLs start referring to
test-local vcweb servers.

For #27494.

Change-Id: I22fde5110b3267b8fb9fb9c59fabc3b8a8b492c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/427094
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/script/cmds.go
src/cmd/go/scriptcmds_test.go
src/cmd/go/testdata/script/README
src/cmd/go/testdata/script/mod_find.txt
src/cmd/go/testdata/script/reuse_git.txt