|
From: | Dmitry Gutov |
Subject: | bug#38044: 27.0.50; There should be an easier way to look at a specific vc commit |
Date: | Tue, 19 Nov 2019 18:59:36 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 19.11.2019 18:12, Eli Zaretskii wrote:
If so, that's not a "log" command, that's closer to a "diff" command.
It's kind of both. 'git show HEAD' is the format that I'd personally expect: some meta info, including the commit message, followed by the diff contents.
And don't we already have a "diff" command which shows diffs for a specific revision?
It *can* do that. And we also have a command that shows the revision log message and stuff: vc-annotate-show-log-revision-at-line. We could reuse its logic.
And either add a diff output at the botton (making it a different command an dealing with major mode having to support both the headers and the diff), or rely on log-view-mode's bindings (the user can press 'd' or 'D' there).
[Prev in Thread] | Current Thread | [Next in Thread] |