mirror of https://github.com/golang/go.git
During the first run of `go-contrib-init` it tries to install the golang.org/x/review/git-codereview package using `go get`. If this command were to fail, we would check for the error and log that the command failed to succeed. However, when failure occurred we would only log the error and not interrupt the flow of the program. This would cause the program to continue with the assumption that git-codereview had been installed correctly. This change enhances the `go-contrib-init` command to exit with a bad status code, after logging the failure, if installing git-codereview fails. Fixes golang/go#21040 Change-Id: Ie01d78557d54285001db61faafbb409888b2893c Reviewed-on: https://go-review.googlesource.com/49151 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
|---|---|---|
| benchmark/parse | ||
| blog | ||
| cmd | ||
| container/intsets | ||
| cover | ||
| go | ||
| godoc | ||
| imports | ||
| playground | ||
| present | ||
| refactor | ||
| third_party | ||
| .gitattributes | ||
| .gitignore | ||
| AUTHORS | ||
| CONTRIBUTING.md | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| PATENTS | ||
| README | ||
| codereview.cfg | ||
README
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. To submit changes to this repository, see http://golang.org/doc/contribute.html.