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: Philipp Stephani
Subject: Re: Difficulty applying multi-file patches from within emacs
Date: Sun, 21 May 2017 17:20:34 +0000



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'.

reply via email to

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