forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emacs/magit: Suppress warning message about missing magit-libgit
Bug: https://bugs.gentoo.org/910593 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters