From 6cdcd9d60738b3bfa828c5fc469600b21a00bed7 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 16 Apr 2020 22:56:47 -0400 Subject: Advise magit-log-merged to drop pathspec --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 45483bd..2376092 100644 --- a/init.el +++ b/init.el @@ -1049,6 +1049,13 @@ (apply fn rev args other)) '((name . "magit-merge-check-pull"))) + (advice-add 'magit-log-merged + :around + (lambda (fn commit branch &rest _) + (funcall fn commit branch + (get 'magit-log-mode 'magit-log-default-arguments))) + '((name . "magit-log-merged-ignore-current-args"))) + (require 'km-magit)) (use-package git-rebase -- cgit v1.2.3