diff options
| author | Ulrich Müller <ulm@gentoo.org> | 2023-07-20 18:16:55 +0200 |
|---|---|---|
| committer | Ulrich Müller <ulm@gentoo.org> | 2023-07-20 18:38:18 +0200 |
| commit | 38138c14e8e7e1eda9e98ea2b6beae7675983b65 (patch) | |
| tree | b35fa906f92cfbff1de5335305b82c82e2fa56e3 /lisp/magit-core.el | |
| parent | 2126eab6a944e095a65ef00de7cda3bbd0023197 (diff) | |
Don't try to load magit-libgit when magit-inhibit-libgit is set
Diffstat (limited to 'lisp/magit-core.el')
| -rw-r--r-- | lisp/magit-core.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/magit-core.el b/lisp/magit-core.el index 9b4298f..d0fa8d2 100644 --- a/lisp/magit-core.el +++ b/lisp/magit-core.el @@ -37,7 +37,8 @@ (require 'magit-transient) (require 'magit-autorevert) -(when (magit--libgit-available-p) +(when (and (not magit-inhibit-libgit) + (magit--libgit-available-p)) (condition-case err (require 'magit-libgit) (error |
