branch: elpa/git-commit commit dbacaa3e4fc3005abc810e463d211a5c9a58d184 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-module-worktree-p: Remove redundant expand-file-name call --- 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 b9d979ab7a..f15cf3ff68 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -1304,7 +1304,7 @@ are considered." (defun magit-module-worktree-p (module) (magit-with-toplevel - (file-exists-p (expand-file-name (expand-file-name ".git" module))))) + (file-exists-p (expand-file-name ".git" module)))) (defun magit-module-no-worktree-p (module) (not (magit-module-worktree-p module)))