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

Re: How do gmail users try out patches from this list?

From
ETEmmanuel Trillaud <etrillaud@gmail.com>
Date
Aug 11, 2009, 20:47 UTC
Message-ID
<20090811224717.785dcd27@eleanor>
In-Reply-To
<2729632a0908111343v73fa475fqb6353dcf2f718101@mail.gmail.com>
To quote Documentation/SubmittingPatches:

GMail does not appear to have any way to turn off line wrapping in the web interface, so this will mangle any emails that you send. You can however use any IMAP email client to connect to the google imap server, and forward the emails through that. Just make sure to disable line wrapping in that email client. Alternatively, use "git send-email" instead.

Submitting properly formatted patches via Gmail is simple now that IMAP support is available. First, edit your ~/.gitconfig to specify your account settings:

[imap]
	folder = "[Gmail]/Drafts"
	host = imaps://imap.gmail.com
	user = user@gmail.com
	pass = p4ssw0rd
	port = 993
	sslverify = false

You might need to instead use: folder = "[Google Mail]/Drafts" if you get an error that the "Folder doesn't exist".

Next, ensure that your Gmail settings are correct. In "Settings" the "Use Unicode (UTF-8) encoding for outgoing messages" should be checked.

Once your commits are ready to send to the mailing list, run the following command to send the patch emails to your Gmail Drafts folder.

	$ git format-patch -M --stdout origin/master | git imap-send

Go to your Gmail account, open the Drafts folder, find the patch email, fill in the To: and CC: fields and send away!

Best Regards
Emmanuel Trillaud

Le Tue, 11 Aug 2009 13:43:13 -0700, skillzero@gmail.com a écrit :

Show 12 quoted lines
> Sorry if this is dumb question, but I didn't see any good info in my
> searches.
> 
> How do gmail users normally apply patches that come through the list?
> Do you just manually copy and paste the email to patch files and use
> git apply? Do you use a tool to export to mbox files and use git am?
> 
> I've been just doing it manually via copy and paste, but it's kinda
> tedious. --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: skillzero@gmail.comNext: Sverre Rabbelier
Message 2 of 11 in “How do gmail users try out patches from this list?”
  1. skillzero@gmail.comAug 11, 2009
  2. Emmanuel TrillaudAug 11, 2009
  3. Sverre RabbelierAug 11, 2009
  4. Emmanuel TrillaudAug 11, 2009
  5. Russ DillAug 11, 2009
  6. Nicolas SebrechtAug 11, 2009
  7. Wesley J. LandakerAug 12, 2009
  8. Michael J GruberAug 12, 2009
  9. Mike RalphsonAug 12, 2009
  10. Nguyen Thai Ngoc DuyAug 12, 2009
  11. Alex RiesenAug 12, 2009

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.