From 23ff9d7adddeb5ecb4219845ebaf2d1405d85b00 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sun, 18 Feb 2024 14:58:54 +0100 Subject: app-emacs/magit: remove unused patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Mair-Keimberger Signed-off-by: Maciej Barć --- .../magit/files/magit-3.3.0-inhibit-libgit.patch | 22 ---------------------- .../magit/files/magit-3.3.0-libgit-unavail.patch | 15 --------------- 2 files changed, 37 deletions(-) delete mode 100644 app-emacs/magit/files/magit-3.3.0-inhibit-libgit.patch delete mode 100644 app-emacs/magit/files/magit-3.3.0-libgit-unavail.patch (limited to 'app-emacs') diff --git a/app-emacs/magit/files/magit-3.3.0-inhibit-libgit.patch b/app-emacs/magit/files/magit-3.3.0-inhibit-libgit.patch deleted file mode 100644 index 20fb2381b6c5..000000000000 --- a/app-emacs/magit/files/magit-3.3.0-inhibit-libgit.patch +++ /dev/null @@ -1,22 +0,0 @@ -commit 451cbe5c24f2af7ed505f1422af6ad4e8f05205b -Author: Jonas Bernoulli -Date: Sun Feb 19 13:37:28 2023 +0100 - - Inhibit use of libgit by default - ---- lisp/magit-git.el -+++ lisp/magit-git.el -@@ -66,8 +66,11 @@ - - ;;; Git implementations - --(defvar magit-inhibit-libgit nil -- "Whether to inhibit the use of libgit.") -+(defvar magit-inhibit-libgit t -+ "Whether to inhibit the use of libgit. -+Use of libgit is inhibited by default because support for libgit -+in magit is only a stub for now. There is no benefit in using -+it.") - - (defvar magit--libgit-available-p 'unknown - "Whether libgit is available. diff --git a/app-emacs/magit/files/magit-3.3.0-libgit-unavail.patch b/app-emacs/magit/files/magit-3.3.0-libgit-unavail.patch deleted file mode 100644 index 6373e720dffc..000000000000 --- a/app-emacs/magit/files/magit-3.3.0-libgit-unavail.patch +++ /dev/null @@ -1,15 +0,0 @@ -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 -- cgit v1.2.3-65-gdbad