aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-submodule.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2024-04-26 15:30:43 +0200
committerJonas Bernoulli <jonas@bernoul.li>2024-04-26 15:30:43 +0200
commit8102e8bf2bec80cde2178471f3eb33637a262399 (patch)
tree2088236819e574a3bca431d45b91f26098d04caa /lisp/magit-submodule.el
parentfef45b274ecb4dc0448bd34dac26f7eaff621e59 (diff)
magit-file-accessible-directory-p: Remove kludge function
This was necessary to work around a bug in macOS. It has been nine years since then, and Yamamoto Mitsuharu reported on bug#21573 that he can no longer reproduce and "presumably Apple have fixed it". Re #2295.
Diffstat (limited to 'lisp/magit-submodule.el')
-rw-r--r--lisp/magit-submodule.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-submodule.el b/lisp/magit-submodule.el
index c4c60ef..96b4466 100644
--- a/lisp/magit-submodule.el
+++ b/lisp/magit-submodule.el
@@ -604,7 +604,7 @@ These sections can be expanded to show the respective commits."
(when (magit-module-worktree-p module)
(let ((default-directory
(expand-file-name (file-name-as-directory module))))
- (when (magit-file-accessible-directory-p default-directory)
+ (when (file-accessible-directory-p default-directory)
(magit-insert-section sec (module module t)
(magit-insert-heading
(propertize module