commit | 8faa90c24300080d4754607f9d3d95d29b1cc818 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Mar 27 00:25:55 2020 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Fri Mar 27 19:39:47 2020 +0000 |
tree | 5c20823fa72c820f35e0843794dbd5b474dc4d8c | |
parent | eabff7e0449dd638b1430e60ce0e72fac0942c11 [diff] |
internal/gocommand: only set working dir if it's not empty This was causing crashes by setting the working directory to be empty. Fixes golang/go#38062 Fixes golang/go#38101 Change-Id: I6d679ee1d5dcab914df3d565d83aa6de0dd74cb4 Reviewed-on: https://go-review.googlesource.com/c/tools/+/225817 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.