1GIT-MAILINFO(1)                   Git Manual                   GIT-MAILINFO(1)
2
3
4

NAME

6       git-mailinfo - Extracts patch and authorship from a single e-mail
7       message
8

SYNOPSIS

10       git-mailinfo [-k] [-u | --encoding=<encoding>] <msg> <patch>
11

DESCRIPTION

13       Reading a single e-mail message from the standard input, and writes the
14       commit log message in <msg> file, and the patches in <patch> file. The
15       author name, e-mail and e-mail subject are written out to the standard
16       output to be used by git-am to create a commit. It is usually not
17       necessary to use this command directly. See git-am(1) instead.
18

OPTIONS

20       -k
21           Usually the program cleans up the Subject: header line to extract
22           the title line for the commit log message, among which (1) remove
23           Re: or re:, (2) leading whitespaces, (3) [ up to ], typically
24           [PATCH], and then prepends "[PATCH] ". This flag forbids this
25           munging, and is most useful when used to read back git format-patch
26           -k output.
27
28       -u
29           The commit log message, author name and author email are taken from
30           the e-mail, and after minimally decoding MIME transfer encoding,
31           re-coded in UTF-8 by transliterating them. This used to be optional
32           but now it is the default.
33
34           Note that the patch is always used as-is without charset
35           conversion, even with this flag.
36
37       --encoding=<encoding>
38           Similar to -u but if the local convention is different from what is
39           specified by i18n.commitencoding, this flag can be used to override
40           it.
41
42       <msg>
43           The commit log message extracted from e-mail, usually except the
44           title line which comes from e-mail Subject.
45
46       <patch>
47           The patch extracted from e-mail.
48

AUTHOR

50       Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano
51       <junkio@cox.net>
52

DOCUMENTATION

54       Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
55

GIT

57       Part of the git(7) suite
58
59
60
61
62Git 1.5.3.3                       10/09/2007                   GIT-MAILINFO(1)
Impressum