emacs-devel
[Top][All Lists]
Advanced

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

Re: master 1424342225 2/2: vc-git-checkin: Don't try to apply an empty p


From: Dmitry Gutov
Subject: Re: master 1424342225 2/2: vc-git-checkin: Don't try to apply an empty patch
Date: Wed, 21 Dec 2022 03:17:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 21/12/2022 02:01, Sean Whitton wrote:
Hello,

On Tue 20 Dec 2022 at 06:09PM -05, Sean Whitton wrote:

branch: master
commit 1424342225ef5b18c630364dd88e004f4ebb1c7f
Author: Sean Whitton<spwhitton@spwhitton.name>
Commit: Sean Whitton<spwhitton@spwhitton.name>

     vc-git-checkin: Don't try to apply an empty patch

     * lisp/vc/vc-git.el (vc-git-checkin): Don't try to apply an empty
     patch to the index, because in that case 'git apply' fails.
This probably should have been committed to the release branch.  Will
the merge scripts cope if I cherry-pick it onto emacs-29?

To quote admin/notes/git-workflow:

Backporting to release branch
=============================

If you have applied a fix to the master, but then decide that it should
be applied to the release branch, too, then

cd ~/emacs/master
git log

and find the commit you're looking for.  Then find the commit ID,
which will look like

commit 958b768a6534ae6e77a8547a56fc31b46b63710b

cd ~/emacs/emacs-28
git cherry-pick -xe 958b768a6534ae6e77a8547a56fc31b46b63710b

and add "Backport:" to the commit string.  Then

git push




reply via email to

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