diff options
author | Hans Jerry Illikainen <hji@dyntopia.com> | 2020-01-05 14:00:55 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-06 08:46:32 -0800 |
commit | 7047f75f2275d1d84ef2f15f01c99ca890119719 (patch) | |
tree | 168c585646d62e41af089cc3b4c4db8b80a9b70c /t/t4011-diff-symlink.sh | |
parent | Git 2.24.1 (diff) | |
download | tgif-7047f75f2275d1d84ef2f15f01c99ca890119719.tar.xz |
editorconfig: indent text files with tabs
Previously, the .editorconfig did not specify an indentation style for
text files. However, a quick look for indentation-like spacing suggest
that tabs are more common for documentation:
$ git grep -Pe '^ {4}' -- '*.txt' |wc -l
2683
$ git grep -Pe '^\t' -- '*.txt' |wc -l
14011
Note that there are a lot of files that indent list continuations (and
other things) with a single space -- if the first search was made
without the fixed quantifier the result would look very different.
However, the result does correspond with my anecdotal experience when
editing git documentation.
This commit adds *.txt to .editorconfig as an extension that should be
indented with tabs.
Signed-off-by: Hans Jerry Illikainen <hji@dyntopia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4011-diff-symlink.sh')
0 files changed, 0 insertions, 0 deletions