summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-06-12 10:42:53 +0200
committerPatrick Steinhardt <ps@pks.im>2018-06-12 10:42:53 +0200
commit0bfe5f781d78d96a06cefbf91d79218482500351 (patch)
tree450040297a2e07f0bff61b5bce16d95720048d83 /docs
parent795a5b28ad1f6e5dfd82d45bd7721914f49d31d3 (diff)
downloadlibgit2-0bfe5f781d78d96a06cefbf91d79218482500351.tar.gz
docs: fix statement about tab width
The libgit2 project mostly follows the coding style of git and thus the linux project. While those two projects use a recommended tab width of eight spaces, we instruct users to set their editor's tab width to four spaces. Fix this to say eight instead.
Diffstat (limited to 'docs')
-rw-r--r--docs/conventions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conventions.md b/docs/conventions.md
index ffb696a4d..f86e1e249 100644
--- a/docs/conventions.md
+++ b/docs/conventions.md
@@ -199,7 +199,7 @@ GIT_EXTERN(int) git_foo_id(
int b);
```
-Indent with tabs; set your editor's tab width to 4 for best effect.
+Indent with tabs; set your editor's tab width to eight for best effect.
Avoid trailing whitespace and only commit Unix-style newlines (i.e. no CRLF
in the repository - just set `core.autocrlf` to true if you are writing code