[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master eac9757f5c1: ; * lisp/vc/vc.el (vc-deduce-fileset): Add commentar
From: |
Eli Zaretskii |
Subject: |
master eac9757f5c1: ; * lisp/vc/vc.el (vc-deduce-fileset): Add commentary for bug#68174. |
Date: |
Wed, 3 Jan 2024 07:40:12 -0500 (EST) |
branch: master
commit eac9757f5c1be1d13ad8e2a8c098bf0a24435e5c
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * lisp/vc/vc.el (vc-deduce-fileset): Add commentary for bug#68174.
---
lisp/vc/vc.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index 7b2301ee3e5..b8cc44fc3dc 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -1157,6 +1157,9 @@ BEWARE: this function may change the current buffer."
(vc-checkout-model backend buffer-file-name))
(list backend (list buffer-file-name))))
((derived-mode-p 'log-view-mode)
+ ;; 'log-view-mode' stashes the backend and the fileset in the
+ ;; two special variables, so we use them to avoid any possible
+ ;; mistakes from a decision made here ad-hoc.
(list log-view-vc-backend log-view-vc-fileset))
((and (buffer-live-p vc-parent-buffer)
;; FIXME: Why this test? --Stef
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master eac9757f5c1: ; * lisp/vc/vc.el (vc-deduce-fileset): Add commentary for bug#68174.,
Eli Zaretskii <=