Re: Creating attachments using git-format-patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Panagiotis Issaris <takis.issaris@xxxxxxxxxxx> 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...


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]