summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-11-28 00:14:46 +0200
committerJuri Linkov <juri@linkov.net>2019-11-28 00:14:46 +0200
commitf655967b83378b56390904a503ec0f1a19a1a7e9 (patch)
treec8592e87f362c88dbef55da71021de22794f2fd7 /etc
parentb31a966e88b1b4fbc8148fda47becd1d209a67fd (diff)
downloademacs-f655967b83378b56390904a503ec0f1a19a1a7e9.tar.gz
'C-1 C-x v L' asks for revision and shows its log entry with diff (bug#38044)
* doc/emacs/maintaining.texi (VC Change Log): Explain the numeric prefix arg of 'C-x v L' (vc-print-root-log). * lisp/vc/vc-git.el (vc-git-print-log): Add command line option "-p" when vc-log-view-type is 'with-diff'. (vc-git-log-view-mode): Use long style when vc-log-view-type is 'with-diff'. * lisp/vc/vc.el (vc-print-log-internal): Add optional arg 'type'. (vc-log-internal-common): Use 'region-history-mode' when type is 'with-diff' and backend supports 'region-history-mode'. (vc-print-root-log): Add optional arg 'revision'. In interactive spec read a revision when current-prefix-arg is 1. Use current-prefix-arg "as is" when it is a number. Show revision in long style with diff when limit is 1 and revision is non-nil.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index db304508886..f3f9f2f2c65 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -993,6 +993,9 @@ With a prefix argument asks for a command, so for example,
'C-u M-x vc-log-search RET git log -1 f302475 RET' will display
just one log entry found by its revision number.
++++
+*** 'C-1 C-x v L' asks for a revision and shows its log entry with diff.
+
*** 'C-x v =' can now mimic Magit's diff format.
Set the new user option 'diff-font-lock-prettify' to t for that, see
below under "Diff mode".