Skip to content

cmd/dist: make.bash fails if Emacs temporary files are present #18931

Description

@mdempsky

When Emacs has unsaved changes for a file foo.go, it creates an intentionally broken symbolic link .#foo.go. (See "Protection against Simultaneous Editing" or "Why does emacs create temporary symbolic links for modified files?".)

go/build gracefully ignores these, because it has ignored files starting with . or _ since its very first import.

cmd/dist complains about them though, because it breaks the bootstrap copying process. This prevents running make.bash while Emacs has unsaved changes to toolchain source files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions