{"thread":{"id":"14397","subject":"[PATCH] git-mailinfo: document the -n option","startedAt":"2008-07-10T21:36:28Z","lastAt":"2008-07-10T21:36:28Z","messageCount":1,"participants":["Lukas Sandström"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"82851","messageId":"487680DC.2010104@etek.chalmers.se","threadId":"14397","inReplyTo":null,"subject":"[PATCH] git-mailinfo: document the -n option","fromName":"Lukas Sandström","fromEmail":"lukass@etek.chalmers.se","sentAt":"2008-07-10T21:36:28Z","receivedAt":"2008-07-10T21:36:28Z","isPatch":true,"sender":{"key":"luksan@gmail.com","avatar":"https://avatars.githubusercontent.com/u/152281?v=4"},"body":"Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se>\n---\n Documentation/git-mailinfo.txt |    5 ++++-\n builtin-mailinfo.c             |    2 +-\n 2 files changed, 5 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-mailinfo.txt b/Documentation/git-mailinfo.txt\nindex cc52db3..316bcc6 100644\n--- a/Documentation/git-mailinfo.txt\n+++ b/Documentation/git-mailinfo.txt\n@@ -8,7 +8,7 @@ git-mailinfo - Extracts patch and authorship from a single e-mail message\n \n SYNOPSIS\n --------\n-'git mailinfo' [-k] [-u | --encoding=<encoding>] <msg> <patch>\n+'git mailinfo' [-k] [-u | --encoding=<encoding> | -n] <msg> <patch>\n \n \n DESCRIPTION\n@@ -46,6 +46,9 @@ conversion, even with this flag.\n \tfrom what is specified by i18n.commitencoding, this flag\n \tcan be used to override it.\n \n+-n::\n+\tDisable all charset re-coding of the metadata.\n+\n <msg>::\n \tThe commit log message extracted from e-mail, usually\n \texcept the title line which comes from e-mail Subject.\ndiff --git a/builtin-mailinfo.c b/builtin-mailinfo.c\nindex fa6e8f9..962aa34 100644\n--- a/builtin-mailinfo.c\n+++ b/builtin-mailinfo.c\n@@ -960,7 +960,7 @@ static int mailinfo(FILE *in, FILE *out, int ks, const char *encoding,\n }\n \n static const char mailinfo_usage[] =\n-\t\"git-mailinfo [-k] [-u | --encoding=<encoding>] msg patch <mail >info\";\n+\t\"git-mailinfo [-k] [-u | --encoding=<encoding> | -n] msg patch <mail >info\";\n \n int cmd_mailinfo(int argc, const char **argv, const char *prefix)\n {\n-- \n1.5.4.5\n"}]}