]> Cypherpunks repositories - gostls13.git/commit
cmd/go: extend path shortening to all paths in messages
authorDavid Chase <drchase@google.com>
Mon, 6 Feb 2023 22:10:10 +0000 (17:10 -0500)
committerDavid Chase <drchase@google.com>
Mon, 6 Mar 2023 18:35:15 +0000 (18:35 +0000)
commit3eedba50b10ca9086646f12d7917912cff7d4d0a
treeadadfda3c4957f23ee8f2934002e17f1a449c72f
parent5a7793b7b81e1069cc830a14997ede3730295175
cmd/go: extend path shortening to all paths in messages

The previous code only shortened the directory name for files
in the directory being compiled (and $WORK and runtime/std).

This extends the shortening to all file names.

Change-Id: I6abef6141d57036d893420b82e01ed0fbb637788
Reviewed-on: https://go-review.googlesource.com/c/go/+/465805
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: David Chase <drchase@google.com>
src/cmd/go/internal/work/exec.go
src/cmd/go/testdata/script/build_shorten_sibling_package.txt [new file with mode: 0644]