Anyone have any good scripts for taking patches in email and turning them into git commits, preferrably while preserving the author information?
-hpa
Anyone have any good scripts for taking patches in email and turning them into git commits, preferrably while preserving the author information?
-hpa
Re: Email patch -> git commit?
On Tue, Aug 02, 2005 at 03:15:19PM -0700, H. Peter Anvin wrote:
> Anyone have any good scripts for taking patches in email and turning > them into git commits, preferrably while preserving the author information?
git-applymbox seems to be what you are looking for. It was named dotest in the old days.
Sam
Re: Email patch -> git commit?
Sam Ravnborg wrote:
> On Tue, Aug 02, 2005 at 03:15:19PM -0700, H. Peter Anvin wrote: > >>Anyone have any good scripts for taking patches in email and turning >>them into git commits, preferrably while preserving the author information? > > > git-applymbox seems to be what you are looking for. > It was named dotest in the old days. >
Looks like it's not in cogito-0.12.1, which is why I didn't find it. I guess I'll wait until the layered cogito comes out, hopefully this week.
-hpa
Re: Email patch -> git commit?
"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