git-mailinfo: document the -n option
Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Lukas Sandström committed
Jul 10, 2008 at 23:36 UTC
b4958181a9afd0a7a2622d18416f88f9222123f0
2 files changed
+5
-2
Documentation/git-mailinfo.txt
+4
-1
@@ -8,7 +8,7 @@ git-mailinfo - Extracts patch and authorship from a single e-mail message
8
9
SYNOPSIS
10
--------
11
-'git-mailinfo' [-k] [-u | --encoding=<encoding>] <msg> <patch>
11
+'git-mailinfo' [-k] [-u | --encoding=<encoding> | -n] <msg> <patch>
12
13
14
DESCRIPTION
@@ -46,6 +46,9 @@ conversion, even with this flag.
46
from what is specified by i18n.commitencoding, this flag
47
can be used to override it.
48
49
+-n::
50
+ Disable all charset re-coding of the metadata.
51
+
52
<msg>::
53
The commit log message extracted from e-mail, usually
54
except the title line which comes from e-mail Subject.
builtin-mailinfo.c
+1
-1
@@ -960,7 +960,7 @@ static int mailinfo(FILE *in, FILE *out, int ks, const char *encoding,
960
}
961
962
static const char mailinfo_usage[] =
963
- "git-mailinfo [-k] [-u | --encoding=<encoding>] msg patch <mail >info";
963
+ "git-mailinfo [-k] [-u | --encoding=<encoding> | -n] msg patch <mail >info";
964
965
int cmd_mailinfo(int argc, const char **argv, const char *prefix)
966
{