emacs-devel
[Top][All Lists]
Advanced

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

Re: Amending commits


From: Sean Whitton
Subject: Re: Amending commits
Date: Tue, 27 Sep 2022 09:10:36 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hello,

On Tue 27 Sep 2022 at 05:40PM +02, Lars Ingebrigtsen wrote:

> Sean Whitton <spwhitton@spwhitton.name> writes:
>
>> There is already vc-modify-change-comment which I think just needs a Git
>> backend implementation.  Then it'll work from Log View.
>
> Makes sense.  (The limitation in Git, of course, is that you can only
> modify the last commit, but having it signal an error if that's not it's
> being asked to amend would be fine.)

Couldn't it do a rebase to reword the old commit?  I often do 'git
rebase -i' only for the purpose of rewording an unpushed, non-tip
commit, and it would be nice for that to be automated (eventually!).

-- 
Sean Whitton



reply via email to

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