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

    defalias vc-got-responsible-p to vc-got-root
    
    they had the same output, only two slightly different implementation,
    and vc-got-root should be faster.
---
 vc-got.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/vc-got.el b/vc-got.el
index 553917a..2d2fcfe 100644
--- a/vc-got.el
+++ b/vc-got.el
@@ -285,8 +285,7 @@ Return \"0\" for a file added but not yet committed."
   "Register FILES, passing `vc-register-switches' to the backend command."
   (vc-got--add files))
 
-(defun vc-got-responsible-p (file)
-  (vc-find-root file ".got"))
+(defalias 'vc-got-responsible-p #'vc-got-root)
 
 (defun vc-got-checkin (files comment &optional _rev)
   "Commit FILES with COMMENT as commit message."

Reply via email to