Re: Using thunderbird to post/apply patches?
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