mirror of
https://github.com/golang/go.git
synced 2025-05-28 02:41:30 +00:00
cmd/dist: don't copy files ending in ~ to bootstrap directory
They are editor backup files. They are ignored by .gitignore, so they can never be real files in the Go repo. Change-Id: I58800e6e9f939e0bd21b086243b9260bcc8cd770 Reviewed-on: https://go-review.googlesource.com/c/go/+/584675 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
2315412535
commit
6584fe8195
2
src/cmd/dist/buildtool.go
vendored
2
src/cmd/dist/buildtool.go
vendored
@ -113,6 +113,8 @@ var ignoreSuffixes = []string{
|
||||
// with PGO. And as it is not a text file the import path
|
||||
// rewrite will break it.
|
||||
".pgo",
|
||||
// Skip editor backup files.
|
||||
"~",
|
||||
}
|
||||
|
||||
var tryDirs = []string{
|
||||
|
Loading…
x
Reference in New Issue
Block a user