git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Panagiotis Issaris <takis@issaris.org>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
	Panagiotis Issaris <takis.issaris@uhasselt.be>,
	git@vger.kernel.org
Subject: Re: Creating attachments using git-format-patch
Date: Sun, 04 Mar 2007 13:33:09 -0800	[thread overview]
Message-ID: <7vodn84ru2.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <45EB2294.9040702@issaris.org> (Panagiotis Issaris's message of "Sun, 04 Mar 2007 20:48:36 +0100")

Panagiotis Issaris <takis@issaris.org> writes:

> The patch did not work for me in the sense that the patches still 
> appeared as inline text in both Mutt (1.5.13) and Thunderbird (2 beta 2).
>
> The email show up as being threaded in Mutt, but in Thunderbird they 
> still do not show up threaded.
> thread about git-format-patch attachments, so Thunderbird appears to 
> work alright).

If the patch below is needed, then I doubt you can honestly say
it appears to work...

> diff -u b/log-tree.c b/log-tree.c
> --- b/log-tree.c
> +++ b/log-tree.c
> @@ -186,7 +186,7 @@
>  			snprintf(subject_buffer, sizeof(subject_buffer) - 1,
>  				 "%s"
>  				 "MIME-Version: 1.0\n"
> -				 "Content-Type: multipart/mixed;\n"
> +				 "Content-Type: multipart/mixed;"
>  				 " boundary=\"%s%s\"\n"
>  				 "\n"
>  				 "This is a multi-part message in MIME "
> @@ -202,10 +202,10 @@
>  
>  			snprintf(buffer, sizeof(buffer) - 1,
>  				 "--%s%s\n"
> -				 "Content-Type: text/x-patch;\n"
> +				 "Content-Type: text/x-patch;"
>  				 " name=\"%s.diff\"\n"
>  				 "Content-Transfer-Encoding: 8bit\n"
> -				 "Content-Disposition: %s;\n"
> +				 "Content-Disposition: %s;"
>  				 " filename=\"%s.diff\"\n\n",
>  				 mime_boundary_leader, opt->mime_boundary,
>  				 sha1,

But if it helps some implementations of MIME decoder without
harming others, then I'd say why not.  I just wanted to make
sure it does not throw regression at others (for example by
making the physical line too long for them to grok).

  parent reply	other threads:[~2007-03-04 21:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-03 21:07 Creating attachments using git-format-patch Panagiotis Issaris
2007-03-03 22:49 ` Junio C Hamano
2007-03-03 22:56   ` Johannes Schindelin
2007-03-03 23:12     ` [PATCH] format-patch: add --no-inline option Johannes Schindelin
2007-03-04  3:43     ` Creating attachments using git-format-patch Junio C Hamano
2007-03-04  4:23       ` Junio C Hamano
2007-03-04 11:30         ` Johannes Schindelin
2007-03-04 19:48         ` Panagiotis Issaris
2007-03-04 19:56           ` Panagiotis Issaris
2007-03-04 21:33           ` Junio C Hamano [this message]
2007-03-04 21:48             ` Panagiotis Issaris
2007-03-05  0:09           ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vodn84ru2.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=takis.issaris@uhasselt.be \
    --cc=takis@issaris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).