Additional note: This is a problem when we use Bazel with Go. When using Bazel it auto creates bazel-<current-dir-name> symlink, and we have a project with ".go" suffix in its name (https://github.com/reddit/baseplate.go) so if we use default git clone directory name, bazel will create bazel-baseplate.go symlink, which will cause errors with the go command. Some of those errors are harmless but some do cause problems, so we have to rename clone it to work around this issue.
changed the title
Go command isn't handling symlinks to directories named as *.go correctlyJun 25, 2020