emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/vc-got 4571b1f 013/145: Summary: got log expects a rela


From: ELPA Syncer
Subject: [elpa] externals/vc-got 4571b1f 013/145: Summary: got log expects a relative path
Date: Thu, 9 Sep 2021 15:58:24 -0400 (EDT)

branch: externals/vc-got
commit 4571b1fd33cbe57979e5cfe154d6f966825cf481
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>

    Summary: got log expects a relative path
---
 vc-got.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vc-got.el b/vc-got.el
index 6d8b4b1..1c0b612 100644
--- a/vc-got.el
+++ b/vc-got.el
@@ -414,9 +414,9 @@ DIR-OR-FILE."
 LIMIT limits the number of commits, optionally starting at START-REVISION."
   (with-current-buffer buffer
     ;; the *vc-diff* may be read only
-    (let ((inhibit-read-only))
+    (let ((inhibit-read-only t))
       (cl-loop for file in files
-               do (vc-got--log file limit start-revision)))))
+               do (vc-got--log (file-relative-name file) limit 
start-revision)))))
 
 ;; XXX: vc.el specify only pattern, but in reality this takes a buffer
 ;; and a pattern.



reply via email to

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