emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))
Date: Thu, 20 Dec 2012 13:01:44 +0100	[thread overview]
Message-ID: <871uelkk47.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87k3sdvstn.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 20 Dec 2012 12:58:12 +0100")

Achim Gratz <Stromeko@nexgo.de> 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.

-- 
 Bastien

  reply	other threads:[~2012-12-20 12:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-20  4:51 [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point)) Dmitry Antipov
2012-12-20 10:57 ` Bastien
2012-12-20 11:58   ` Achim Gratz
2012-12-20 12:01     ` Bastien [this message]
2012-12-20 12:11       ` Achim Gratz
2012-12-20 12:17         ` Bastien
2012-12-20 12:13   ` Dmitry Antipov
2012-12-20 12:17     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871uelkk47.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=Stromeko@nexgo.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).