|
From: | Dmitry Gutov |
Subject: | Re: vc-modify-change-comment for "modern" backend fix |
Date: | Thu, 19 May 2022 12:25:47 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 |
On 19.05.2022 09:11, Alfred M. Szmidt wrote:
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.
Yeah, ok. But see the other recommendations.
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.
Okay, but how will this work in fossil? Similar to editing a single commit during a rebase?
[Prev in Thread] | Current Thread | [Next in Thread] |