File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -196,11 +196,12 @@ whitespace::
196
196
verbatim::
197
197
Do not change the message at all.
198
198
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
+
204
205
default::
205
206
Same as `strip` if the message is to be edited.
206
207
Otherwise `whitespace`.
Original file line number Diff line number Diff line change @@ -42,27 +42,27 @@ mind.
42
42
+
43
43
------------
44
44
[i18n]
45
- commitencoding = ISO-8859-1
45
+ commitEncoding = ISO-8859-1
46
46
------------
47
47
+
48
48
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
50
50
help other people who look at them later. Lack of this header
51
51
implies that the commit log message is encoded in UTF-8.
52
52
53
53
. 'git log', 'git show', 'git blame' and friends look at the
54
54
`encoding` header of a commit object, and try to re-code the
55
55
log message into UTF-8 unless otherwise specified. You can
56
56
specify the desired output encoding with
57
- `i18n.logoutputencoding ` in `.git/config` file, like this:
57
+ `i18n.logOutputEncoding ` in `.git/config` file, like this:
58
58
+
59
59
------------
60
60
[i18n]
61
- logoutputencoding = ISO-8859-1
61
+ logOutputEncoding = ISO-8859-1
62
62
------------
63
63
+
64
64
If you do not have this configuration variable, the value of
65
- `i18n.commitencoding ` is used instead.
65
+ `i18n.commitEncoding ` is used instead.
66
66
67
67
Note that we deliberately chose not to re-code the commit log
68
68
message when a commit is made to force UTF-8 at the commit
You can’t perform that action at this time.
0 commit comments