branch: externals/vc-got
commit 4571b1fd33cbe57979e5cfe154d6f966825cf481
Author: Omar Polo <o...@omarpolo.com>
Commit: Omar Polo <o...@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