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

Re: [PATCH v2] Enable setting attach as the default in .gitconfig for git-format-patch.

From
BBBen Bucksch <ben.bucksch.news@beonex.com>
Date
Feb 9, 2009, 13:25 UTC
Message-ID
<49902EDC.6020901@beonex.com>
In-Reply-To
<499022D3.3000200@drmicha.warpmail.net>
On 09.02.2009 13:34, Michael J Gruber wrote:
Show 7 quoted lines
> Johannes Schindelin venit, vidit, dixit 08.02.2009 18:28:
>    
>> On Sun, 8 Feb 2009, Jeremy White wrote
>>> Essentially, the problem is well understood - Thunderbird uses
>>> format=flowed by default, which is what mangles the patches.
>>>        
>> I guess I'll start discouraging use of Thunderbird from now on.
Or you could just publish:
1. Prefs | Advanced | General | Config Editor...
2. "mailnews.send_plaintext_flowed" = false

The defaults should be best for the average user, not the rare programmer, who has no problem changing prefs.

f=f helps the normal user (and more importantly his recipient) by properly flowing text, which allows me to read with line lengths which are comfortable to read for me. It harms only in rare cases where line-endings are very important, *but* are not explicitly marked so. I think you can switch to "preformat" in the HTML editor and it would work, because we then know it's not flowing text, but I haven't tried it, because I attach such documents as txt / diff files.

As inline attachments, they'll show up inline in the msg viewer as well (which means I can read and copy&paste them), but are clearly separated from the body (which is assumed to be human-created natural language text), avoiding the problem mentioned here, and can easily be saved as file, opened in an external app etc.. I don't know why you didn't choose that way, but I assume you had your reasons. Just as we had our reasons for choosing f=f.

> I found git-send-email the more reliable and practical solution for 
> sending out patches. Put yourself in bcc and you'll have a copy in 
> TB's inbox or another folder (use filters).

Yup, I think that's the best way - git is using email only as protocol, so it's good to have special clients to that, as it's a really special use.

Show 5 quoted lines
> <sarcasm style="reality: exaggerated;">
> Isn't that some Linux guy? How would he matter for Mozilla? Does he even
> know how to send HTML mail...
> </sarcasm>
>    

I don't think it's a matter of clue, it's a matter of background and attitude.

Ben
Previous: Michael J GruberNext: Johannes Schindelin
Message 6 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.