Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/gomote: don't push .git even if it is a file
In `git worktree` checkouts, rather than a .git directory, .git is a file containing the path of the real repository. Presence of this file will confuse git invoked by the go tool, so don't push it, just as we don't push a .git directory. For golang/go#58218. Change-Id: I2d316d5672a87ba9cb7175a07e06e99a3392a85d Reviewed-on: https://go-review.googlesource.com/c/build/+/480635 Reviewed-by: Carlos Amedee <amedee@google.com> Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Michael Pratt <mpratt@google.com>
- Loading branch information