From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Difficulty applying multi-file patches from within emacs Date: Sun, 21 May 2017 17:39:12 +0000 Message-ID: <20170521173912.GB17908@acm.fritz.box> References: <20170515204416.GA7349@acm.fritz.box> <20170520103428.GB4616@acm.fritz.box> <20170521160843.GA17908@acm.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1495388516 4882 195.159.176.226 (21 May 2017 17:41:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 May 2017 17:41:56 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: emacs-devel@gnu.org, Kaushal Modi To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 21 19:41:49 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCUrU-00011I-DT for ged-emacs-devel@m.gmane.org; Sun, 21 May 2017 19:41:48 +0200 Original-Received: from localhost ([::1]:38857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCUrY-0002cJ-59 for ged-emacs-devel@m.gmane.org; Sun, 21 May 2017 13:41:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCUpw-00029Z-TD for emacs-devel@gnu.org; Sun, 21 May 2017 13:40:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCUpt-0001lA-Qr for emacs-devel@gnu.org; Sun, 21 May 2017 13:40:12 -0400 Original-Received: from ocolin.muc.de ([193.149.48.4]:33591 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1dCUpt-0001ir-EQ for emacs-devel@gnu.org; Sun, 21 May 2017 13:40:09 -0400 Original-Received: (qmail 94364 invoked by uid 3782); 21 May 2017 17:40:07 -0000 Original-Received: from acm.muc.de (p4FC46D4D.dip0.t-ipconnect.de [79.196.109.77]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 21 May 2017 19:40:06 +0200 Original-Received: (qmail 18474 invoked by uid 1000); 21 May 2017 17:39:12 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215061 Archived-At: Hello, Philipp. On Sun, May 21, 2017 at 17:20:34 +0000, Philipp Stephani wrote: > Alan Mackenzie schrieb am So., 21. Mai 2017 um 18:10 Uhr: > > How is it not a git-formatted patch? I created it with > > $ git diff > diff.20170520.diff > > , from the top level Emacs directory. > "Git-formatted patch" means "patch produced by git format-patch". A typical > workflow is: > git checkout -b NEW-BRANCH master # start new topic branch off master > # make changes > git commit > git format-patch master # create patch files for all commits since master > The patch files thus produced can be applied using 'git am'. To send them > directly to the mailing list, you can use 'send-email' instead of > 'format-patch'. Thanks! I didn't know that. -- Alan Mackenzie (Nuremberg, Germany).