1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-09 04:26:08 +02:00
This commit is contained in:
Christopher Yeleighton 2024-04-25 23:42:58 +00:00 committed by GitHub
commit 1458b58909
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,9 +36,13 @@ people using 80-column terminals.
Commit objects record the character encoding used for the log message
in their encoding header; this option can be used to tell the
command to re-code the commit log message in the encoding
preferred by the user. For non plumbing commands this
defaults to UTF-8. Note that if an object claims to be encoded
in `X` and we are outputting in `X`, we will output the object
preferred by the user.
The encoding must be a system encoding supported by iconv(1),
otherwise this option will be ignored.
POSIX character maps used by iconv(1p) are not supported.
For non-plumbing commands this defaults to UTF-8.
Note that if an object claims to be encoded in `X`
and we are outputting in `X`, we shall output the object
verbatim; this means that invalid sequences in the original
commit may be copied to the output. Likewise, if iconv(3) fails
to convert the commit, we will quietly output the original