branch: externals/vc-got
commit f6e414a6f4f628dd1f935d30165880abaed1d847
Author: Omar Polo <o...@omarpolo.com>
Commit: Omar Polo <o...@omarpolo.com>

    typo
---
 vc-got.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vc-got.el b/vc-got.el
index ab672dc..553917a 100644
--- a/vc-got.el
+++ b/vc-got.el
@@ -81,8 +81,8 @@
 
 (defun vc-got-root (file)
   "Return the work tree root for FILE, or nil."
-  (or (vc-file-getprop file 'git-root)
-      (vc-file-setprop file 'git-root (vc-find-root file ".got"))))
+  (or (vc-file-getprop file 'got-root)
+      (vc-file-setprop file 'got-root (vc-find-root file ".got"))))
 
 (defmacro vc-got-with-worktree (file &rest body)
   "Evaluate BODY in the work tree directory of FILE."

Reply via email to