golang/go
GitHub で見るx/review/git-codereview: when working on the Go repo, use its bin/gofmt if present
Open
#26,336 opened on 2018年7月11日
NeedsFixhelp wanted
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (30d に merged PR はありません)
説明
gofmt changed in Go 1.11, and git-codereview uses the gofmt from $PATH, so when that's the Go 1.10 version, it complains as git-codereview: gofmt needs to format these files (run 'git gofmt').
It should instead use the gofmt in GOROOT.