summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-04-16 22:56:47 -0400
committerKyle Meyer <kyle@kyleam.com>2020-04-16 23:54:14 -0400
commit6cdcd9d60738b3bfa828c5fc469600b21a00bed7 (patch)
treeaca638681c063ea387adde67e552a1eaf840800f
parente7620bff05222774e4f46c60b183b4813be3c78f (diff)
downloademacs.d-6cdcd9d60738b3bfa828c5fc469600b21a00bed7.tar.gz
Advise magit-log-merged to drop pathspec
-rw-r--r--init.el7
1 files changed, 7 insertions, 0 deletions
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