[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 4f4ad9c091 2/2: magit-gitdir: Fix docstring typ
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 4f4ad9c091 2/2: magit-gitdir: Fix docstring typo |
Date: |
Thu, 14 Sep 2023 10:00:05 -0400 (EDT) |
branch: elpa/git-commit
commit 4f4ad9c091daf769f8a0a562f6d14a71aa6c3192
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-gitdir: Fix docstring typo
---
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 5458045703..c372de229b 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -843,7 +843,7 @@ Also see `magit-git-config-p'."
(defun magit-gitdir (&optional directory)
"Return the absolute and resolved path of the .git directory.
-If the `GIT_DIR' environment variable is define then return that.
+If the `GIT_DIR' environment variable is defined, return that.
Otherwise return the .git directory for DIRECTORY, or if that is
nil, then for `default-directory' instead. If the directory is
not located inside a Git repository, then return nil."