summaryrefslogtreecommitdiff
path: root/.config/git/config
diff options
context:
space:
mode:
authorHendrik Jäger <hendrik.jaeger@dswiss.com>2020-11-26 13:57:55 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2020-11-26 13:58:26 +0100
commita9040f4d71ab4a2b2e3b1eb5f69c88fa8dca1911 (patch)
tree55fc1239fedddd0b18603cfba3b1ad8178bc56d5 /.config/git/config
parent0e41d2b3afc0d306d09221ff64bec767db9c759b (diff)
Complain about tabs in indents
Diffstat (limited to '.config/git/config')
-rw-r--r--.config/git/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
index 687981b..82dd886 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -9,6 +9,9 @@
[commit]
# show diff in commit message editor
verbose = true
+[core]
+ # complain about tabs used for indenting
+ whitespace = tab-in-indent
[diff]
# use (i)ndex, (w)orktree, (c)ommit, etc instead of a/ and b/
mnemonicprefix = true