branch: elpa/magit
commit f2cbad929deddc925f54460e9f4663ad46ce1a17
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    magit-inside-worktree-p: Tweak docstring
    
    A repository may have multiple worktrees.
---
 lisp/magit-git.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index 9b6dd88cb0b..d8d9343de50 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -983,7 +983,7 @@ is non-nil, in which case return nil."
                ((signal 'magit-outside-git-repo default-directory))))))
 
 (defun magit-inside-worktree-p (&optional noerror)
-  "Return t if `default-directory' is below the working directory.
+  "Return t if `default-directory' is below a working directory.
 If it is below the repository directory, then return nil.
 If it isn't below either, then signal an error unless NOERROR
 is non-nil, in which case return nil."

Reply via email to