-
Notifications
You must be signed in to change notification settings - Fork 17.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go/internal/get: relax pathOK check to allow any letter
This fixes a regression of #18660 with the new path checks. Updates #29230 Change-Id: I2dd9adab999e7f810e0e746ad8b75ea9622f56e7 Reviewed-on: https://team-review.git.corp.google.com/c/370578 Reviewed-by: Russ Cox <[email protected]> Reviewed-on: https://go-review.googlesource.com/c/154104 Reviewed-by: Bryan C. Mills <[email protected]>
- Loading branch information
Showing
2 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[!exec:git] skip | ||
|
||
cd $WORK/_origin/example.com/unicode | ||
exec git init | ||
exec git add unicode.go | ||
exec git commit -m 'add unicode.go' | ||
|
||
mkdir $GOPATH/src/example.com/unicode | ||
cd $GOPATH/src/example.com/unicode | ||
exec git clone $WORK/_origin/example.com/unicode . | ||
|
||
cd $WORK/_origin/example.com/испытание | ||
exec git init | ||
exec git add испытание.go | ||
exec git commit -m 'add испытание.go' | ||
|
||
mkdir $GOPATH/src/example.com/испытание | ||
cd $GOPATH/src/example.com/испытание | ||
exec git clone $WORK/_origin/example.com/испытание . | ||
|
||
cd $GOPATH | ||
go get -u example.com/unicode | ||
|
||
-- $WORK/_origin/example.com/unicode/unicode.go -- | ||
package unicode | ||
import _ "example.com/испытание" | ||
-- $WORK/_origin/example.com/испытание/испытание.go -- | ||
package испытание |