Skip to content

Commit

Permalink
git-mailinfo: document the -n option
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Lukas Sandström authored and Junio C Hamano committed Jul 12, 2008
1 parent 8c6202d commit b495818
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Documentation/git-mailinfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-mailinfo - Extracts patch and authorship from a single e-mail message

SYNOPSIS
--------
'git-mailinfo' [-k] [-u | --encoding=<encoding>] <msg> <patch>
'git-mailinfo' [-k] [-u | --encoding=<encoding> | -n] <msg> <patch>


DESCRIPTION
Expand Down Expand Up @@ -46,6 +46,9 @@ conversion, even with this flag.
from what is specified by i18n.commitencoding, this flag
can be used to override it.

-n::
Disable all charset re-coding of the metadata.

<msg>::
The commit log message extracted from e-mail, usually
except the title line which comes from e-mail Subject.
Expand Down
2 changes: 1 addition & 1 deletion builtin-mailinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ static int mailinfo(FILE *in, FILE *out, int ks, const char *encoding,
}

static const char mailinfo_usage[] =
"git-mailinfo [-k] [-u | --encoding=<encoding>] msg patch <mail >info";
"git-mailinfo [-k] [-u | --encoding=<encoding> | -n] msg patch <mail >info";

int cmd_mailinfo(int argc, const char **argv, const char *prefix)
{
Expand Down

0 comments on commit b495818

Please sign in to comment.