|
From: | Dmitry Gutov |
Subject: | bug#38044: 27.0.50; There should be an easier way to look at a specific vc commit |
Date: | Fri, 22 Nov 2019 23:43:08 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 22.11.2019 23:03, Eli Zaretskii wrote:
I'd prefer to use "log -p" in the backend ("log --diff" for svn), because that yields a single command and will work for all the backends except RCS and CVS.
Would it?For Git, we need 'git log -p -n 1', for Hg, 'hg log -p -l 1'. So it's hard to do the default implementation.
If you still mean to update the print-log action (which will mean updating all backends), I'm okay with that essentially, except we'd likely document the extra argument as "also print diffs for each revision". It would be weird for it to mean "show diffs INSTEAD of the revision log" only in CVS and RCS. But if someone wants to implement it that way (with ample commentary), I won't stop them.
I do think this should be better invoked via a new user-visible command, though.
[Prev in Thread] | Current Thread | [Next in Thread] |