Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified .gitattributes to fix Go's overly aggresive go.mod changes.
It seems that the Go toolchain wants to normalize go.mod's line endings even if there are no changes to the file (golang/go#31870). This normalization is disallowed by the -mod=readonly build flag, causing builds to fail. This is likely fixed by golang/go@cf3be9b, but that won't land until Go 1.14, and in any event the line ending normalization will still occur if there are changes to go.mod/go.sum generated on Windows. Signed-off-by: Jacob Howard <[email protected]>
- Loading branch information