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

Re: Using thunderbird to post/apply patches?

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Feb 7, 2008, 23:44 UTC
Message-ID
<47AB97EC.8030002@nrlssc.navy.mil>
In-Reply-To
<46a038f90802071521n674b61c2t5e4d4c740375b951@mail.gmail.com>
Martin Langhoff wrote:
Show 9 quoted lines
> Is there anyone using thunderbird/mozilla to post patches with
> additional email commentary like Junio and Linus do? Are there good
> tricks for this? Or otherwise a similar MUA that does things right?
> 
> The 2 workflows I am after are...
> 
>  - Load up a patch created with git-format-patch into my email editor
> to add some commentary before sending. Should not munge the patch
> itself!

I use git-send-email to first send the patch to myself. When it shows up in thunderbird, I Right-click and select "Edit As New..." Add my text, update the recipients, and voila.

If you're replying to a previous message, you can get the Message-ID to supply to git-send-email by selecting View->Headers->All. Copy&Paste everything between the angle brackets.

I have these options set in Edit->Preferences:
  Display->Formatting->Display emoticons as graphics: unchecked, it turns
    HEAD^2 into HEAD squared
  Composition->General->Wrap plain text messages at 0 characters
                                                    ^

I also have mailnews.send_plaintext_flowed => false as suggested in SubmittingPatches. There is a different suggestion in that document you may want to read.

>  - Feed an email I am reading to git-apply-mbox so that if it's
> reasonably formatted as a patch it will do the right thing and apply
> it.
I just Right-click and Save As...
cat <saved_as> | git am
-brandon
Previous: Martin LanghoffNext: Jay Soffian
Message 6 of 9 in “Using thunderbird to post/apply patches?”
  1. Martin LanghoffFeb 7, 2008
  2. Johannes SchindelinFeb 7, 2008
  3. Martin LanghoffFeb 7, 2008
  4. Johannes SchindelinFeb 8, 2008
  5. Martin LanghoffFeb 8, 2008
  6. Brandon CaseyFeb 7, 2008
  7. Jay SoffianFeb 8, 2008
  8. Junio C HamanoFeb 8, 2008
  9. Johannes SchindelinFeb 8, 2008

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.