aboutsummaryrefslogtreecommitdiffstats
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitconfig b/.gitconfig
index 0701bbe..008278c 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -33,7 +33,10 @@
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
# Treat spaces before tabs, lines that are indented with 8 or more spaces, and
- # all kinds of trailing whitespace as an error
+ # all kinds of trailing whitespace as an error.
+ # [default] trailing-space: looks for spaces at the end of a line
+ # [default] space-before-tab: looks for spaces before tabs at the beginning of
+ # a line
whitespace = space-before-tab,indent-with-non-tab,trailing-space
[color]