diff --git a/.gitattributes b/.gitattributes index 0269fab9c..bc4bed969 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,7 @@ # Auto detect text files and perform LF normalization * text=auto *.sol linguist-language=Solidity + +# Ignore diff on generated code +*.pb.go linguist-generated=true +*_mock.go linguist-generated=true