gitattributes: Show diffs for golden generated code

'binary' in gitattributes is a macro for '-text -diff' where -text
disables EOL modification and -diff disables textual diffs. However,
these are text files, so we'd actually rather like to have diff.
This commit is contained in:
Eric Anderson 2021-07-02 14:46:57 -07:00 committed by ZHANG Dapeng
parent 380f26fd8d
commit 603135791a
1 changed files with 4 additions and 4 deletions

8
.gitattributes vendored
View File

@ -1,4 +1,4 @@
TestService.java.txt binary
TestServiceLite.java.txt binary
TestDeprecatedService.java.txt binary
TestDeprecatedServiceLite.java.txt binary
TestService.java.txt -text
TestServiceLite.java.txt -text
TestDeprecatedService.java.txt -text
TestDeprecatedServiceLite.java.txt -text