Commit 0bfe5f781d78d96a06cefbf91d79218482500351

Patrick Steinhardt 2018-06-12T10:42:53

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/docs/conventions.md b/docs/conventions.md
index ffb696a..f86e1e2 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