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

Re: Email patch -> git commit?

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Aug 3, 2005, 08:47 UTC
Message-ID
<tnx64unjtjg.fsf@arm.com>
In-Reply-To
<42EFF077.6080606@zytor.com>
"H. Peter Anvin" <hpa@zytor.com> wrote:
> Anyone have any good scripts for taking patches in email and turning
> them into git commits, preferrably while preserving the author
> information?

StGIT can do this as well, via the 'stg import -m' command. You will see it as a GIT commit (with 'git log') as well as an StGIT patch. It preserves the author information taken from the From: line (can be overwritten with command line options).

-- 
Catalin
Previous: H. Peter Anvin
Message 4 of 4 in “Email patch -> git commit?”
  1. H. Peter AnvinAug 2, 2005
  2. Sam RavnborgAug 2, 2005
  3. H. Peter AnvinAug 2, 2005
  4. Catalin MarinasAug 3, 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.