summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2024-11-27 10:15:53 +0000
committerPeter Eisentraut2024-11-27 10:20:46 +0000
commit0d884f570b72c5b030f7908032946078537ea121 (patch)
tree14603bba519a2d92aef17d9e30b6957792bfee27
parent41272784b9383910de737937f1987dd00246f728 (diff)
gitattributes: Add .cpp files to whitespace checks
Use the same rules as .c files.
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 830313e90f3..d33e5ef0941 100644
--- 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