GNU bug report logs -
#64055
31.0.50; log-view-modify-change-comment support for Git and Hg
Previous Next
Full log
Message #86 received at 64055 <at> debbugs.gnu.org (full text, mbox):
Hello,
On Fri 18 Oct 2024 at 12:14pm +03, Eli Zaretskii wrote:
> Definitely. It is otherwise very hard to realize that the discussion
> of these changes happened in this particular bug.
Right, okay.
> That's definitely not what the comments and the implementation convey.
> And I then understand even less why the backend action was added for
> Git in the first place.
Hmm, I see what you mean. I should have included more detail in the
commit message and/or comments.
>> > Btw, since CVS has an existing command-line option to amend the log
>> > message of a particular commit, I wonder whether the design that goes
>> > through a separate backend function which extracts the comment first
>> > is valid.
>>
>> We still need to extract the comment first so that the user has some
>> text to edit.
>
> Are we envisioning the user invoking this from anything other than a
> log buffer? Why would someone want to do that?
I can imagine a few cases where it might be useful, but I don't think
that's the main point.
The main point is that parsing text out of the log view buffer is much
more error-prone. For example, with a non-distributed VCS like CVS,
what if someone else has edited the comment in the meantime? It makes
sense to fetch the latest known version instead of relying on buffer
text.
So, I hope that we will eventually completely replace
log-view-extract-comment.
--
Sean Whitton
This bug report was last modified 103 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.