Easy patch submission with GIT + imap folders

Mike McCormack mike at codeweavers.com
Tue Apr 18 22:27:35 CDT 2006


Hi,

As of the recently released GIT 1.3.0, sending patches via an IMAP 
folder with GIT just got easier.

If everything is set up right, you should be able to run the following 
command:

git-format-patch --attach --stdout --keep origin | git-imap-send

This requires some configuration in ~/.git/config:

[core]
         name = "Mike McCormack"
         email = "mike at codeweavers.com"

[imap]
         Folder = "INBOX.Drafts"
         Tunnel = "ssh -q usr at svr /usr/bin/imapd ./Maildir 2> /dev/null"

[format]
         headers = "To: wine-patches <wine-patches at winehq.org>\n"

Using Mozilla, you can just click on the "Edit Draft:" in the message, 
check/edit the message and then click send.

Alexandre has said that he doesn't mind if the subject line contains the 
ChangeLog entry.

No more missing patches, missing ChangeLog entries, or patches generated 
from the wrong directory.

I think James Hawkins has written a program similar to git-imap-send 
that works with GMail...

Mike



More information about the wine-devel mailing list