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

Re: [ANNOUNCE] Git User's Survey 2008

From
Jeff King <peff@peff.net>
Date
Sep 5, 2008, 14:45 UTC
Message-ID
<20080905144543.GA25022@coredump.intra.peff.net>
In-Reply-To
<e29894ca0809050646g2f198890le2312d065696d1dd@mail.gmail.com>
On Fri, Sep 05, 2008 at 04:46:02PM +0300, Marc-André Lureau wrote:
Show 6 quoted lines
> I cannot find yet a good workflow with either mutt, gmail or evolution
> over imap.
> 
> If somebody could explain how they handle the git send-mail patches
> they recieve, I would be thankful. How do you create .mbox files? What
> is your workflow when you deal with mails?
When I receive patches via mutt, I usually apply them with this:
  macro index,pager A '<pipe-message>git<space>am<enter>'

which will apply in your current directory. For my git folder, I use a hook to always apply to my git repo:

  folder-hook git macro index,pager A
  '<pipe-message>cd<space>$HOME/compile/git<space>&&<space>git<space>am<enter>'

If there are several patches in a series, I may pull them into an mbox and apply separately:

  [in mutt]
  T pattern [or tag message individually, or Esc-T to tag thread]
  ;C ~/name-of-patch-topic
  [in another terminal]
  cd /path/to/repo
  git am ~/name-of-patch-topic
To send one or two patches, I create an mbox and then use mutt to send:
  git format-patch -s --stdout "$@" >.mbox
  mutt -f .mbox
  rm -f .mbox
and in my muttrc:
  macro index,pager b ":set edit_headers=yes<enter><resend-message>:set edit_headers=no<enter>"
Hope that helps,
-Peff
Previous: Petr BaudisNext: Felipe Carvalho Oliveira
Message 14 of 20 in “[ANNOUNCE] Git User's Survey 2008”
  1. Jakub NarebskiAug 31, 2008
  2. Scott ChaconSep 1, 2008
  3. Felipe ContrerasSep 1, 2008
  4. David JohnSep 1, 2008
  5. Jakub NarebskiSep 1, 2008
  6. Karl HasselströmSep 1, 2008
  7. Christian JaegerSep 3, 2008
  8. Eric BowmanSep 3, 2008
  9. Tor Arvid LundSep 3, 2008
  10. Felipe ContrerasSep 3, 2008
  11. Marc-André LureauSep 5, 2008
  12. What do you use to send git patches? (was: [ANNOUNCE] Git User's Survey 2008)Jakub Narebski, Sep 5, 2008
  13. Petr BaudisSep 5, 2008
  14. Jeff KingSep 5, 2008
  15. Felipe Carvalho OliveiraSep 3, 2008
  16. Jakub NarebskiSep 6, 2008
  17. Announcing Git User's Survey 2008Jakub Narebski, Sep 8, 2008
  18. [ANNOUNCE] Git User's Survey 2008 has closedJakub Narebski, Oct 14, 2008
  19. Jakub NarebskiSep 1, 2008
  20. Petr BaudisSep 1, 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.