Skip to main content

mutt save git send-email’s patch

Today I am checking my mailing list. When I use v to view the message which sent by git send-email, I found that it doesn’t show the From, Date,Subject in content. Neomutt think they are not a part of email’s content. I think, maybe save the raw email is also a way.

So here is how it works:

  1. Set mutt’s dafault editor to vim in ~/.muttrc: set editor = vim
  2. Using :exec view-raw-message to view raw email
  3. Using :saveas ~/test.mbox to save patch file.

Now even if it has a lot of useless information, don’t worry, git will ignore them. It just like a raw patch.