File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,9 @@ key binding
184
184
The original key binding was 'M-s', which interfered with I-search,
185
185
since the latter uses 'M-s' as a prefix key of the search prefix map.
186
186
187
+ ** vc-print-branch-log shows the change log for BRANCH from its root
188
+ directory instead of the default directory.
189
+
187
190
188
191
* Incompatible Lisp Changes in Emacs 28.1
189
192
Original file line number Diff line number Diff line change @@ -2558,15 +2558,17 @@ with its diffs (if the underlying VCS supports that)."
2558
2558
2559
2559
;;;### autoload
2560
2560
(defun vc-print-branch-log (branch )
2561
- " Show the change log for BRANCH in a window."
2561
+ " Show the change log for BRANCH root in a window."
2562
2562
(interactive
2563
2563
(list
2564
2564
(vc-read-revision " Branch to log: " )))
2565
2565
(when (equal branch " " )
2566
2566
(error " No branch specified " ))
2567
- (vc-print-log-internal (vc-responsible-backend default-directory)
2568
- (list default-directory) branch t
2569
- (when (> vc-log-show-limit 0 ) vc-log-show-limit)))
2567
+ (let* ((backend (vc-responsible-backend default-directory))
2568
+ (rootdir (vc-call-backend backend 'root default-directory)))
2569
+ (vc-print-log-internal backend
2570
+ (list rootdir) branch t
2571
+ (when (> vc-log-show-limit 0 ) vc-log-show-limit))))
2570
2572
2571
2573
;;;### autoload
2572
2574
(defun vc-log-incoming (&optional remote-location )
You can’t perform that action at this time.
0 commit comments