gitattributes: Add .cpp files to whitespace checks

Use the same rules as .c files.
This commit is contained in:
Peter Eisentraut 2024-11-27 11:15:53 +01:00
parent 41272784b9
commit 0d884f570b

1
.gitattributes vendored
View File

@ -1,5 +1,6 @@
* whitespace=space-before-tab,trailing-space * whitespace=space-before-tab,trailing-space
*.[chly] whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4 *.[chly] whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4
*.cpp whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4
*.pl whitespace=space-before-tab,trailing-space,tabwidth=4 *.pl whitespace=space-before-tab,trailing-space,tabwidth=4
*.pm whitespace=space-before-tab,trailing-space,tabwidth=4 *.pm whitespace=space-before-tab,trailing-space,tabwidth=4
*.po whitespace=space-before-tab,trailing-space,tab-in-indent,-blank-at-eof *.po whitespace=space-before-tab,trailing-space,tab-in-indent,-blank-at-eof