emacs-devel
[Top][All Lists]
Advanced

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

Re: Difficulty applying multi-file patches from within emacs


From: Alan Mackenzie
Subject: Re: Difficulty applying multi-file patches from within emacs
Date: Sun, 21 May 2017 17:39:12 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello, Philipp.

On Sun, May 21, 2017 at 17:20:34 +0000, Philipp Stephani wrote:
> Alan Mackenzie <address@hidden> schrieb am So., 21. Mai 2017 um 18:10 Uhr:


> > How is it not a git-formatted patch?  I created it with

> >     $ git diff <filenames> > 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).



reply via email to

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