Re: Sending patches with KMail
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 15, 2012, 02:14 UTC
- Message-ID
- <7vwr8tww3r.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120114183111.GC27850@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 5 quoted lines
> My favorite approach would be to introduce a new option > --format=plain|mbox, with the default being mbox, allowing format-patch > --format=plain to produce a nice patch that does _not_ include a "From " > line or q-encode its header lines, ready for use without much tweaking > in an email body as an attachment.
I actually like the removal of q-encoding part. But I am not sure what headers it should produce. What should the beginning of the output file look like? Does it just have "Subject: ", or does it still have the "From: ", "Date: " and "Subject: ", the first two of which the user would almost always want to remove?
If we can decide a sane behaviour wrt the pseudo header, and if the option is made _incompatible_ with --stdout when (and only when) emitting more than one message, then I think it would be a good addition.