blob: 6373e720dffc5a6e658a8f5bf1f216a6eb834767 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Suppress warning message about missing magit-libgit
https://bugs.gentoo.org/910593
--- lisp/magit-core.el
+++ lisp/magit-core.el
@@ -41,7 +41,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
|