Browse Source

Update .gitattributes

Inform github about generated files, hopefully avoiding annoying PR
diffs. Also use the C/C++ diff pattern for C sources.
stage1balance
Andrei Alexeyev 8 months ago
parent
commit
51cdbc6987
No known key found for this signature in database GPG Key ID: 363707CD4C7FE8A4
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      .gitattributes

+ 5
- 0
.gitattributes 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

Loading…
Cancel
Save