summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-17 09:07:27 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-17 09:07:27 (GMT)
commite30b217ba41081f5f11206ca3dfb987725315304 (patch)
treed840a255b994f9ade46238a3caa6a6680b0cfedf
parent936f32d3de468db8daf853155ddd5c6b191af60c (diff)
downloadgit-e30b217ba41081f5f11206ca3dfb987725315304.zip
git-e30b217ba41081f5f11206ca3dfb987725315304.tar.gz
git-e30b217ba41081f5f11206ca3dfb987725315304.tar.bz2
Documentation/SubmittingPatches: Gnus tips
Also warn about format=flowed (aka 'flawed'). Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Documentation/SubmittingPatches20
1 files changed, 19 insertions, 1 deletions
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches
index 646b6e7..41b76d8 100644
--- a/Documentation/SubmittingPatches
+++ b/Documentation/SubmittingPatches
@@ -72,7 +72,9 @@ other than the commit message itself. Place such "cover letter"
material between the three dash lines and the diffstat.
Do not attach the patch as a MIME attachment, compressed or not.
-Do not let your e-mail client send quoted-printable. Many
+Do not let your e-mail client send quoted-printable. Do not let
+your e-mail client send format=flowed which would destroy
+whitespaces in your patches. Many
popular e-mail applications will not always transmit a MIME
attachment as plain text, making it impossible to comment on
your code. A MIME attachment also takes a bit more time to
@@ -312,3 +314,19 @@ settings but I haven't tried, yet.
mail.identity.default.compose_html => false
mail.identity.id?.compose_html => false
+
+
+Gnus
+----
+
+'|' in the *Summary* buffer can be used to pipe the current
+message to an external program, and this is a handy way to drive
+"git am". However, if the message is MIME encoded, what is
+piped into the program is the representation you see in your
+*Article* buffer after unwrapping MIME. This is often not what
+you would want for two reasons. It tends to screw up non ASCII
+characters (most notably in people's names), and also
+whitespaces (fatal in patches). Running 'C-u g' to display the
+message in raw form before using '|' to run the pipe can work
+this problem around.
+