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 15:04:20 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hello,

On Tue 27 Sep 2022 at 06:17PM +02, Lars Ingebrigtsen wrote:

> Sean Whitton <spwhitton@spwhitton.name> writes:
>
>> 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!).
>
> That should be possible (or un-checkin and then stash commits and
> reapply), but sounds like major work.

Right.  If you're planning on working on the 'commit --amend' part,
could you add an error specifically stating that amending the messages
of older commits is not yet {supported|implemented}, please?  Currently
I think you just get a Lisp error or maybe nothing happens at all.
Given that I do this a lot I'll probably look into the rest of it at
some point.

-- 
Sean Whitton



reply via email to

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