Skip to content
Snippets Groups Projects
Commit 6584fe81 authored by Ian Lance Taylor's avatar Ian Lance Taylor Committed by Gopher Robot
Browse files

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: default avatarThan McIntosh <thanm@google.com>
Reviewed-by: default avatarIan 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>
parent 23154125
No related branches found
No related tags found
No related merge requests found
......@@ -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{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment