[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Use (point-marker) instead of (move-marker (make-marker)

From: Bastien
Subject: Re: [O] [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))
Date: Thu, 20 Dec 2012 13:01:44 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Achim Gratz <address@hidden> writes:

> Bastien writes:
>> Indeed.  I cannot apply the patch, git am returns "patch format
>> detection faild."  Can you resubmit it using git format-patch?
> You want to use 'git apply' on that patch, 'git am' is for applying
> patches produced by 'git format-patch' only.  

Well, I'm trying to encourage people to submit patches that I can apply
easily with git am without having to edit the patch or to use git commit
--author=""... to credit the patch correctly.

> In a pinch however, you
> can relatively easily convert the patch format from 'git show to
> something suitable for 'git am':
> Replace "commit" with "From", Replace "Author" with "From" and replace
> the whitespace at the beginning of the first line of the commit message
> with "Subject: [PATCH] ".

Good to know, thank you.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]