Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/build/cmd/gerritbot: perform gofmt checks before pushing to Gerrit #24946
In https://golang.org/cl/99337 a file using CRLF instead of LF line endings was added. When using git-codereview to send CLs, there is a gofmt check which prevents this. But it seems there is no corresponding check when sending CLs via Github PRs.
It would be nice to run the gofmt check also for PRs submitted via Github.