Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Creating attachments using git-format-patch

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:58

Possibly related (same subject, not in this thread)

Panagiotis Issaris [off-list ref] writes:
I've been trying to start using git-format-patch together with
git-send-email, but I've encountered some problems. The
mailinglist I want to send the patches to, requires patches to
be sent as attachments. So, I tried using the --attach option
of git-format-patch.
Strictly speaking, I think --attach option is misnamed.  It's
sole purpose is to create a multipart/mixed whose first part is
the commit log message and the second part is the patch text to
help cases where the patch text is not UTF-8 but the log message
is.

We mark the second part inline because it is easier to review if
the patch is shown inline in MUA.

For now, I think you could edit "inline;" to "attachment;".

We could introduce a new option "--inline" that does what the
current "--attach" does, and make "--attach" write "attachment;"
instead of "inline;" there, but that changes the behaviour, and
people who are used to use "--attach" to send out patches to
mailing lists suddenly start sending more cumbersome-to-read
variant, so...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help