bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#38044: 27.0.50; There should be an easier way to look at a specific


From: Dmitry Gutov
Subject: bug#38044: 27.0.50; There should be an easier way to look at a specific vc commit
Date: Sat, 23 Nov 2019 21:11:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 23.11.2019 20:50, Juri Linkov wrote:
-                    (list start-revision)))
+                    (if (eq limit 1)
+                        (list "-p" start-revision)
+                      (list start-revision))))

+A special case is when the prefix argument is 1, in this case
+it asks for the revision and shows it with its diff."

I think that's rather ugly (see my comment about having the arguments to be orthogonal), and it precludes the use of this backend action to print a more extensive commit log (with diffs, that is).

+    (when (and (eq limit 1) revision)
+      (vc-git-region-history-mode))))

A Git-specific function in vc.el?





reply via email to

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