]> Cypherpunks repositories - gostls13.git/commit
cmd/go: make paths consistent between 'go work init' and 'go work use'
authorBryan C. Mills <bcmills@google.com>
Thu, 3 Mar 2022 20:07:15 +0000 (15:07 -0500)
committerBryan Mills <bcmills@google.com>
Thu, 3 Mar 2022 21:19:37 +0000 (21:19 +0000)
commit87a345ca3849a68de13f29bdc7628f2943734946
tree6f1e3dcb2049cfb7841963cc76f5ed98601c58a0
parent9d34fc5108d91bfcce3c465069dbb2c563af4229
cmd/go: make paths consistent between 'go work init' and 'go work use'

Fixes #51448

Change-Id: I86719b55037c377eb82154e169d8a9bbae20b77c
Reviewed-on: https://go-review.googlesource.com/c/go/+/389854
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/modload/modfile.go
src/cmd/go/internal/workcmd/use.go
src/cmd/go/testdata/script/work_init_path.txt [new file with mode: 0644]
src/cmd/go/testdata/script/work_use.txt
src/cmd/go/testdata/script/work_use_deleted.txt
src/cmd/go/testdata/script/work_use_dot.txt