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

Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the default in .gitconfig for git-format-patch.)

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Feb 9, 2009, 19:30 UTC
Message-ID
<r57oMSnamWCJ1G1-r98G6mYQjX0YNpQz1OzEBHSrDifmBU_ir2P77A@cipher.nrlssc.navy.mil>
In-Reply-To
<4990820B.504@beonex.com>
Ben Bucksch wrote:
Show 12 quoted lines
> On 09.02.2009 20:14, Johannes Schindelin wrote:
>> On 09.02.2009 19:54, Brandon Casey wrote:
>>>> I will follow up with an example patch which has the control
>>>> characters in it.
>>>>        
> 
>> Especially the "Save" command will save the byte-identical body of the
>> mail.
>>    
> 
> I think Thunderbird will also save a byte-identical copy of the mail, if
> you use File | Save... and use ".eml" (for email = RFC822) file extension.

Did you try it with the message I sent titled '[PATCH] example patch corrupted by thunderbird'?

The body of the patch has 1 hunk which adds 6 lines.

When I save with Thunderbird, part of what was on line 5 is now on another line and the control-M is missing. At least that is what is apparent to me.

> The dialog is sensitive to the file extension and determines the format
> based on that, but is unfortunately not communicative about it.

I did not modify the suggested file name. The saved file has a '.eml' extension.

> If you save as HTML (.html) or plaintext (.txt), it runs it through the
> MIME converters and reformats it for display / human reading.
Nope, '.eml' extension.
-brandon
Previous: Ben BuckschNext: Ben Bucksch
Message 22 of 44 in “Enable setting attach as the default in .gitconfig for git-format-patch.”
  1. Enable setting attach as the default in .gitconfig for git-format-patch.Jeremy White, Feb 8, 2009
  2. Boyd Stephen Smith Jr.Feb 8, 2009
  3. Jeremy WhiteFeb 8, 2009
  4. Johannes SchindelinFeb 8, 2009
  5. Michael J GruberFeb 9, 2009
  6. Ben BuckschFeb 9, 2009
  7. Johannes SchindelinFeb 9, 2009
  8. Michael J GruberFeb 9, 2009
  9. Boyd Stephen Smith Jr.Feb 9, 2009
  10. Ben BuckschFeb 9, 2009
  11. Johannes SchindelinFeb 9, 2009
  12. Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the default in .gitconfig for git-format-patch.)Jeremy White, Feb 9, 2009
  13. Ben BuckschFeb 9, 2009
  14. Jeremy WhiteFeb 9, 2009
  15. Michael J GruberFeb 9, 2009
  16. Ben BuckschFeb 9, 2009
  17. Jeremy WhiteFeb 9, 2009
  18. Brandon CaseyFeb 9, 2009
  19. Ben BuckschFeb 9, 2009
  20. Johannes SchindelinFeb 9, 2009
  21. Ben BuckschFeb 9, 2009
  22. Brandon CaseyFeb 9, 2009
  23. Ben BuckschFeb 9, 2009
  24. Ben BuckschFeb 9, 2009
  25. Brandon CaseyFeb 9, 2009
  26. Brandon CaseyFeb 9, 2009
  27. Ben BuckschFeb 9, 2009
  28. Brandon CaseyFeb 9, 2009
  29. Ben BuckschFeb 9, 2009
  30. Brandon CaseyFeb 9, 2009
  31. Ben BuckschFeb 9, 2009
  32. Brandon CaseyFeb 10, 2009
  33. Brandon CaseyFeb 9, 2009
  34. Johannes SchindelinFeb 9, 2009
  35. Michael J GruberFeb 10, 2009
  36. Miles BaderFeb 12, 2009
  37. Michael J GruberFeb 12, 2009
  38. Brandon CaseyFeb 9, 2009
  39. example patch corrupted by thunderbirdBrandon Casey, Feb 9, 2009
  40. Michael J GruberFeb 9, 2009
  41. Ben BuckschFeb 9, 2009
  42. Jeremy WhiteFeb 9, 2009
  43. Ben BuckschFeb 9, 2009
  44. Junio C HamanoFeb 10, 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.