Skip to content

Commit caac7a3

Browse files
committed
Merge branch 'jk/pretty-encoding-doc' into maint
Doc update. * jk/pretty-encoding-doc: docs: clarify that --encoding can produce invalid sequences
2 parents ff132a1 + e479c5f commit caac7a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/pretty-options.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ people using 80-column terminals.
3737
in their encoding header; this option can be used to tell the
3838
command to re-code the commit log message in the encoding
3939
preferred by the user. For non plumbing commands this
40-
defaults to UTF-8.
40+
defaults to UTF-8. Note that if an object claims to be encoded
41+
in `X` and we are outputting in `X`, we will output the object
42+
verbatim; this means that invalid sequences in the original
43+
commit may be copied to the output.
4144

4245
--notes[=<ref>]::
4346
Show the notes (see linkgit:git-notes[1]) that annotate the

0 commit comments

Comments
 (0)