aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Suttle <kevin@kevinsuttle.com>2013-09-19 11:19:37 -0400
committerMathias Bynens <mathias@qiwi.be>2013-09-19 17:27:52 +0200
commitc8a48ee28c70ab8ad6b3f960af33f8e498780b14 (patch)
treeacb5d00d94388f58d0d8c152604a6091468c2c7d
parent5c896ab0efe19a48bf9b8e6de81386711ce0f673 (diff)
downloaddotfiles-c8a48ee28c70ab8ad6b3f960af33f8e498780b14.tar.gz
dotfiles-c8a48ee28c70ab8ad6b3f960af33f8e498780b14.tar.bz2
dotfiles-c8a48ee28c70ab8ad6b3f960af33f8e498780b14.zip
.gitconfig: Add note about whitespace defaults
Closes #256.
-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]