emacs-devel
[Top][All Lists]
Advanced

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

Re: Amending commits


From: Eli Zaretskii
Subject: Re: Amending commits
Date: Mon, 26 Sep 2022 14:38:25 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: philipk@posteo.net,  Emacs-devel@gnu.org
> Date: Mon, 26 Sep 2022 12:42:26 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Yes.  My use case is "git am" and then I want to add the bug# to the
> >> commit message -- and in that case, I don't have a log-edit buffer at
> >> all.
> >
> > Can't you set vc-checkin-switches to "--amend" and then commit?
> 
> I'm not sure what you mean.  How would that help with "git am"?

You do "git am" followed by a vc-checkin with --amend switch.
vc-checkin does let you edit the log message in a log-edit buffer,
doesn't it?

Or was that not your use case?  If so, what was it?



reply via email to

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