git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-mailsplit and TortoiseGit bugs

From
FNFilip Navara <filip.navara@gmail.com>
Date
Jun 22, 2009, 21:46 UTC
Message-ID
<5b31733c0906221446m1a82b39fkd5d25ea413697138@mail.gmail.com>
In-Reply-To
<20090622202939.GA11912@sigill.intra.peff.net>
On Mon, Jun 22, 2009 at 10:29 PM, Jeff King<peff@peff.net> wrote:
Show 20 quoted lines
> On Mon, Jun 22, 2009 at 07:53:51PM +0200, Filip Navara wrote:
>
>> I'd like to report a bug. There's an incompatibility between the way
>> TortoiseGit sends patches by e-mail and their handling by
>> git-mailsplit. The mail sent by TortoiseGit specifies the Content-Type
>> header as "Content-Type: text/plain;
>> boundary=WC_MAIL_PaRt_BoUnDaRy_05151998". git-mailsplit then
>> misinterprets it and treats it as empty patch. While TortoiseGit
>> should not be sending the boundary parameter, it is perfectly valid
>> e-mail according to RFC 5322 and MIME RFCs. The "boundary" parameter
>> should be ignored for anything but "multipart" Content-Types.
>
> That seems like a bug in TortoiseGit, and I don't know if it is worth
> git trying to work around problems in something that is not even close
> to a 1.0 version.
>
> Still, it is good to be liberal in what we accept. So maybe the patch
> below is worth applying (I assume from your description it will fix the
> problem you are having, but I didn't actually test it with TortoiseGit;
> please confirm that it helps).

Yes, this patch helps. While TortoiseGit shouldn't send the parameter in the first place it's still prefectly valid e-mail that should be accepted. Of course I will report it in the TortoiseGit issue tracker for fixing.

Thanks, Filip Navara

Previous: Jeff KingNext: Frank Li
Message 3 of 7 in “git-mailsplit and TortoiseGit bugs”
  1. Filip NavaraJun 22, 2009
  2. Jeff KingJun 22, 2009
  3. Filip NavaraJun 22, 2009
  4. Frank LiJun 23, 2009
  5. Filip NavaraJun 23, 2009
  6. Junio C HamanoJun 23, 2009
  7. Jeff KingJun 23, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.