branch: elpa/git-commit commit 4f4ad9c091daf769f8a0a562f6d14a71aa6c3192 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@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."