projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4127278
)
gitattributes: Add .cpp files to whitespace checks
author
Peter Eisentraut
<peter@eisentraut.org>
Wed, 27 Nov 2024 10:15:53 +0000
(11:15 +0100)
committer
Peter Eisentraut
<peter@eisentraut.org>
Wed, 27 Nov 2024 10:20:46 +0000
(11:20 +0100)
Use the same rules as .c files.
.gitattributes
patch
|
blob
|
blame
|
history
diff --git
a/.gitattributes
b/.gitattributes
index 830313e90f34577601035759f16a1cb3d03895cd..d33e5ef09418b6cab59bd8537db5e67a66caa216 100644
(file)
--- a/
.gitattributes
+++ b/
.gitattributes
@@
-1,5
+1,6
@@
* whitespace=space-before-tab,trailing-space
*.[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
*.pm whitespace=space-before-tab,trailing-space,tabwidth=4
*.po whitespace=space-before-tab,trailing-space,tab-in-indent,-blank-at-eof