Update .gitattributes

Inform github about generated files, hopefully avoiding annoying PR
diffs. Also use the C/C++ diff pattern for C sources.
This commit is contained in:
Andrei Alexeyev 2020-10-08 05:31:35 +03:00
parent 40425c346b
commit 51cdbc6987
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4

5
.gitattributes vendored
View file

@ -1 +1,6 @@
*.c diff=cpp
*.h diff=cpp
*.h linguist-language=C
/resources/*.pkgdir/gfx/**/*.spr linguist-generated
/subprojects/glad/include/**/*.h linguist-generated
/subprojects/glad/src/**/*.c linguist-generated