{"thread":{"id":"1396","subject":"Email patch -> git commit?","startedAt":"2005-08-02T22:15:19Z","lastAt":"2005-08-03T08:47:47Z","messageCount":4,"participants":["H. Peter Anvin","Sam Ravnborg","Catalin Marinas"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"6722","messageId":"42EFF077.6080606@zytor.com","threadId":"1396","inReplyTo":null,"subject":"Email patch -> git commit?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-08-02T22:15:19Z","receivedAt":"2005-08-02T22:15:19Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Anyone have any good scripts for taking patches in email and turning \nthem into git commits, preferrably while preserving the author information?\n\n\t-hpa\n"},{"id":"6723","messageId":"20050802222718.GA19107@mars.ravnborg.org","threadId":"1396","inReplyTo":"42EFF077.6080606@zytor.com","subject":"Re: Email patch -> git commit?","fromName":"Sam Ravnborg","fromEmail":"sam@ravnborg.org","sentAt":"2005-08-02T22:27:18Z","receivedAt":"2005-08-02T22:27:18Z","isPatch":false,"sender":{"key":"sam@ravnborg.org","avatar":"https://gravatar.com/avatar/168a912606ed0742d840bb365e3cc21db390c36531a58341dc7a069cc1f15f62?d=mp&s=160"},"body":"On Tue, Aug 02, 2005 at 03:15:19PM -0700, H. Peter Anvin wrote:\n> Anyone have any good scripts for taking patches in email and turning \n> them into git commits, preferrably while preserving the author information?\n\ngit-applymbox seems to be what you are looking for.\nIt was named dotest in the old days.\n\n\tSam\n"},{"id":"6725","messageId":"42EFF48F.2050007@zytor.com","threadId":"1396","inReplyTo":"20050802222718.GA19107@mars.ravnborg.org","subject":"Re: Email patch -> git commit?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-08-02T22:32:47Z","receivedAt":"2005-08-02T22:32:47Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Sam Ravnborg wrote:\n> On Tue, Aug 02, 2005 at 03:15:19PM -0700, H. Peter Anvin wrote:\n> \n>>Anyone have any good scripts for taking patches in email and turning \n>>them into git commits, preferrably while preserving the author information?\n> \n> \n> git-applymbox seems to be what you are looking for.\n> It was named dotest in the old days.\n> \n\nLooks like it's not in cogito-0.12.1, which is why I didn't find it.  I \nguess I'll wait until the layered cogito comes out, hopefully this week.\n\n\t-hpa\n"},{"id":"6748","messageId":"tnx64unjtjg.fsf@arm.com","threadId":"1396","inReplyTo":"42EFF077.6080606@zytor.com","subject":"Re: Email patch -> git commit?","fromName":"Catalin Marinas","fromEmail":"catalin.marinas@gmail.com","sentAt":"2005-08-03T08:47:47Z","receivedAt":"2005-08-03T08:47:47Z","isPatch":false,"sender":{"key":"catalin.marinas@gmail.com","avatar":null},"body":"\"H. Peter Anvin\" <hpa@zytor.com> wrote:\n> Anyone have any good scripts for taking patches in email and turning\n> them into git commits, preferrably while preserving the author\n> information?\n\nStGIT can do this as well, via the 'stg import -m' command. You will\nsee it as a GIT commit (with 'git log') as well as an StGIT patch. It\npreserves the author information taken from the From: line (can be\noverwritten with command line options).\n\n-- \nCatalin\n"}]}