Skip to content

Commit 0bfe5f7

Browse files
committed
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 parent 795a5b2 commit 0bfe5f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conventions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ GIT_EXTERN(int) git_foo_id(
199199
int b);
200200
```
201201

202-
Indent with tabs; set your editor's tab width to 4 for best effect.
202+
Indent with tabs; set your editor's tab width to eight for best effect.
203203

204204
Avoid trailing whitespace and only commit Unix-style newlines (i.e. no CRLF
205205
in the repository - just set `core.autocrlf` to true if you are writing code

0 commit comments

Comments
 (0)