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

Re: [RFC] git email submissions

From
JGJeff Garzik <jgarzik@pobox.com>
Date
Nov 16, 2005, 18:01 UTC
Message-ID
<437B73E2.3080903@pobox.com>
In-Reply-To
<437B7213.2020406@zytor.com>
H. Peter Anvin wrote:
Show 22 quoted lines
> Linus Torvalds wrote:
> 
>>
>> On Wed, 16 Nov 2005, Jeff Garzik wrote:
>>
>>> For people without _any_ hosting, it would be nice to give them a 
>>> method to
>>> submit some git changes via email.
>>
>>
>> Well, as long as you don't expect me to take those things..
>>
>> BK had it with "bk send"/"bk receive", I used it a couple of times and 
>> refuse to do it again.
>>
> 
> Personally I think it would be nice if you could do an augmented 
> patchset so that the end result is the same (with the same SHA1 IDs) as 
> if one had merged a pull, while still being a human-readable patchset. 
> The advantage with that is that once merged it'll do the right thing on 
> the author's end.  I think that's pretty much my answer to Jeff's 
> question :)
Agreed.

Though as a disclaimer to Linus and others, I don't plan to use this in my own submissions to Linus. Just thinking it would be a nice thing to have, because there are definitely users out there who don't (for whatever reason) have git-capable hosting.

I would presume an email body would look like

overall description of changes git log master..HEAD | git shortlog git diff master..HEAD | diffstat -p1 git diff master..HEAD <pack file MIME attachment>

Smarter programs would send the overall description and pack file as "[patch 0/N]", and then post the for-review patches in separate emails as "[patch M/N]".

	Jeff
Previous: H. Peter AnvinNext: Matthias Urlichs
Message 5 of 9 in “[RFC] git email submissions”
  1. Jeff GarzikNov 16, 2005
  2. Petr BaudisNov 16, 2005
  3. Linus TorvaldsNov 16, 2005
  4. H. Peter AnvinNov 16, 2005
  5. Jeff GarzikNov 16, 2005
  6. Matthias UrlichsNov 16, 2005
  7. Junio C HamanoNov 19, 2005
  8. Martin LanghoffNov 17, 2005
  9. H. Peter AnvinNov 17, 2005

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.