Skip to content

Commit 0baf0b8

Browse files
committed
Merge branch 'ks/doc-fixes' into maint
Doc clean-up. * ks/doc-fixes: doc: reformat the paragraph containing the 'cut-line' doc: camelCase the i18n config variables to improve readability
2 parents 42dbdef + 3a33fe5 commit 0baf0b8

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

Documentation/git-commit.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,12 @@ whitespace::
196196
verbatim::
197197
Do not change the message at all.
198198
scissors::
199-
Same as `whitespace`, except that everything from (and
200-
including) the line
201-
"`# ------------------------ >8 ------------------------`"
202-
is truncated if the message is to be edited. "`#`" can be
203-
customized with core.commentChar.
199+
Same as `whitespace` except that everything from (and including)
200+
the line found below is truncated, if the message is to be edited.
201+
"`#`" can be customized with core.commentChar.
202+
203+
# ------------------------ >8 ------------------------
204+
204205
default::
205206
Same as `strip` if the message is to be edited.
206207
Otherwise `whitespace`.

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)