emacs-devel
[Top][All Lists]
Advanced

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

Re: vc-modify-change-comment for "modern" backend fix


From: Alfred M. Szmidt
Subject: Re: vc-modify-change-comment for "modern" backend fix
Date: Thu, 19 May 2022 02:11:11 -0400

   On 18.05.2022 09:34, Alfred M. Szmidt wrote:
   > +  "Extract the commit message for the current file."
   > +  (vc-call-backend log-view-vc-backend
   > +                   'get-log-entry
   > +                   (log-view-current-file)
   > +                   (log-view-current-tag)))

   Why not customize the extraction function only for backends that need it?

This does that, no?  If you don't have get-log-entry, then things work
as previously.

   The backend command could be called 'extract-comment'. Which is somewhat 
   different from "log entry" because the latter seems to include the 
   headers, in VC parlance.


   And you haven't explained thus far your plan for implementing 
   'modify-change-comment' for e.g. Git.

I have no plans on implementing such functionality for git.



reply via email to

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