Re: [ANNOUNCE] Git User's Survey 2008

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 05, 2008 at 04:46:02PM +0300, Marc-André Lureau wrote:

> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux