X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-mailinfo.txt;h=8890754740e796bf5ffb815cb8ff0ec1d4b62d97;hb=72fdfb50f721460e4cdff16fbe9c72d4ce6c668c;hp=dc7d725ea155f9eccb7ebab7df6335ae7589d483;hpb=7fe2fc79358673a909d71e62d3f80ffe0f525fce;p=git.git diff --git a/Documentation/git-mailinfo.txt b/Documentation/git-mailinfo.txt index dc7d725e..88907547 100644 --- a/Documentation/git-mailinfo.txt +++ b/Documentation/git-mailinfo.txt @@ -8,7 +8,7 @@ git-mailinfo - Extracts patch from a single e-mail message. SYNOPSIS -------- -'git-mailinfo' [-k] [-u] +'git-mailinfo' [-k] [-u | --encoding=] DESCRIPTION @@ -37,10 +37,17 @@ OPTIONS author email are taken from the e-mail without any charset conversion, after minimally decoding MIME transfer encoding. This flag causes the resulting - commit to be encoded in utf-8 by transliterating them. + commit to be encoded in the encoding specified by + i18n.commitencoding configuration (defaults to utf-8) by + transliterating them. Note that the patch is always used as is without charset conversion, even with this flag. +--encoding=:: + Similar to -u but if the local convention is different + from what is specified by i18n.commitencoding, this flag + can be used to override it. + :: The commit log message extracted from e-mail, usually except the title line which comes from e-mail Subject.