Skip to content

Commit 95791be

Browse files
Kaartic Sivaraamgitster
authored andcommitted
doc: camelCase the i18n config variables to improve readability
The i18n config variable used weren't readable as they were in the crude form of how git stores/uses it's config variables. Improve it's readability by replacing them with camelCased versions of config variables as it doesn't have any impact on it's usage. Signed-off-by: Kaartic Sivaraam <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 08f9c32 commit 95791be

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/i18n.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,27 +42,27 @@ mind.
4242
+
4343
------------
4444
[i18n]
45-
commitencoding = ISO-8859-1
45+
commitEncoding = ISO-8859-1
4646
------------
4747
+
4848
Commit objects created with the above setting record the value
49-
of `i18n.commitencoding` in its `encoding` header. This is to
49+
of `i18n.commitEncoding` in its `encoding` header. This is to
5050
help other people who look at them later. Lack of this header
5151
implies that the commit log message is encoded in UTF-8.
5252

5353
. 'git log', 'git show', 'git blame' and friends look at the
5454
`encoding` header of a commit object, and try to re-code the
5555
log message into UTF-8 unless otherwise specified. You can
5656
specify the desired output encoding with
57-
`i18n.logoutputencoding` in `.git/config` file, like this:
57+
`i18n.logOutputEncoding` in `.git/config` file, like this:
5858
+
5959
------------
6060
[i18n]
61-
logoutputencoding = ISO-8859-1
61+
logOutputEncoding = ISO-8859-1
6262
------------
6363
+
6464
If you do not have this configuration variable, the value of
65-
`i18n.commitencoding` is used instead.
65+
`i18n.commitEncoding` is used instead.
6666

6767
Note that we deliberately chose not to re-code the commit log
6868
message when a commit is made to force UTF-8 at the commit

0 commit comments

Comments
 (0)