Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/dist: set buildvcs=false if not within a git repository
When compiling without a Git repository, "go install" returns an error: error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. Set -buildvcs=false in go install when isGitDir() returns false. Fixes: golang#61620 Related: golang#54852 Signed-off-by: Christian Stewart <christian@aperture.us>
- Loading branch information