commit 9e805da80d3097d153cb3b73bf4f5f4341a3aad9 from: Omar Polo date: Mon Nov 30 18:25:45 2020 UTC 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. commit - f6e414a6f4f628dd1f935d30165880abaed1d847 commit + 9e805da80d3097d153cb3b73bf4f5f4341a3aad9 blob - 553917ae7d0dd1fd1b42a5b0186ac4b73e3bd3c8 blob + 2d2fcfe914c4f6566de83a3a61ecf37fb71a11f9 --- vc-got.el +++ 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."