bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#64055: [WIP Patch] Enable editing commit messages - vc-git-modify-ch


From: Robert Pluim
Subject: bug#64055: [WIP Patch] Enable editing commit messages - vc-git-modify-change-comment
Date: Wed, 14 Jun 2023 15:13:30 +0200

>>>>> On Wed, 14 Jun 2023 07:41:18 -0400, Morgan Smith 
>>>>> <Morgan.J.Smith@outlook.com> said:

    Morgan> Robert Pluim <rpluim@gmail.com> writes:
    >> Does 'git commit --amend -m' not work?

    Morgan> This only works if you want to amend the latest commit.  If you 
want to
    Morgan> edit commit messages of older commits generally one would use the 
reword
    Morgan> feature during an interactive rebase.  To do everything from the
    Morgan> commandline I think we need to use the autosquash feature.

Yes, eg magitʼs interactive rebase is great for that kind of stuff. I donʼt
know offhand if it uses autosquash.

    Morgan> 'git commit --amend' is actually already built into the Emacs vc 
system
    Morgan> and works great.  I don't think you can use it without a diff 
though.

Fixing that would fit 99.99% of the cases where I want to reword a
commit message, and I suspect Iʼm not alone.

Robert
-- 





reply via email to

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