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

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

[nongnu] elpa/vc-fossil adb17bc 034/111: Use file-truename in vc-fossil-


From: ELPA Syncer
Subject: [nongnu] elpa/vc-fossil adb17bc 034/111: Use file-truename in vc-fossil-state otherwise status is not returned if called from outside a fossil tree
Date: Wed, 29 Sep 2021 08:59:16 -0400 (EDT)

branch: elpa/vc-fossil
commit adb17bcf922fd6c026ccb655c55da5e1b4cbeb36
Author: venks <venks>
Commit: venks <venks>

     Use file-truename in vc-fossil-state otherwise status is not returned if 
called from outside a fossil tree
---
 vc/el/vc-fossil.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vc/el/vc-fossil.el b/vc/el/vc-fossil.el
index 8515024..355b6bc 100644
--- a/vc/el/vc-fossil.el
+++ b/vc/el/vc-fossil.el
@@ -107,8 +107,8 @@
 
 (defun vc-fossil-state  (file)
   "Fossil specific version of `vc-state'."
-  ;; (message (format "vc-fossil-state on %s" file))
-  (let ((line (vc-fossil--run "update" "-n" "-v" "current" file)))
+  ;; (message (format "vc-fossil-state on %s %s" file (file-truename file)))
+  (let ((line (vc-fossil--run "update" "-n" "-v" "current" (file-truename 
file))))
     (and line
         (vc-fossil-state-code (car (split-string line))))))
 



reply via email to

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