summaryrefslogtreecommitdiffstats
path: root/git-mailinfo.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-13 09:42:05 -0800
committerJunio C Hamano <gitster@pobox.com>2012-01-13 09:42:05 -0800
commit864ba899feabe96d77ee90737327a288bfc0b24b (patch)
tree6e78a76a57b76cf518a4678ccd6f3f8bbe6cdc5f /git-mailinfo.txt
parent4fd24422bd6290e0c8fce4a22cb9612a23e7e349 (diff)
downloadgit-htmldocs-864ba899feabe96d77ee90737327a288bfc0b24b.tar.gz
Autogenerated HTML docs for v1.7.9-rc1
Diffstat (limited to 'git-mailinfo.txt')
-rw-r--r--git-mailinfo.txt25
1 files changed, 18 insertions, 7 deletions
diff --git a/git-mailinfo.txt b/git-mailinfo.txt
index 51dc32574..97e7a8e9e 100644
--- a/git-mailinfo.txt
+++ b/git-mailinfo.txt
@@ -25,13 +25,24 @@ command directly. See linkgit:git-am[1] instead.
OPTIONS
-------
-k::
- Usually the program 'cleans up' the Subject: header line
- to extract the title line for the commit log message,
- among which (1) remove 'Re:' or 're:', (2) leading
- whitespaces, (3) '[' up to ']', typically '[PATCH]', and
- then prepends "[PATCH] ". This flag forbids this
- munging, and is most useful when used to read back
- 'git format-patch -k' output.
+ Usually the program removes email cruft from the Subject:
+ header line to extract the title line for the commit log
+ message. This option prevents this munging, and is most
+ useful when used to read back 'git format-patch -k' output.
++
+Specifically, the following are removed until none of them remain:
++
+--
+* Leading and trailing whitespace.
+
+* Leading `Re:`, `re:`, and `:`.
+
+* Leading bracketed strings (between `[` and `]`, usually
+ `[PATCH]`).
+--
++
+Finally, runs of whitespace are normalized to a single ASCII space
+character.
-b::
When -k is not in effect, all leading strings bracketed with '['