summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el
index 7f05364..a4515e0 100644
--- a/init.el
+++ b/init.el
@@ -945,6 +945,11 @@
(magit-define-popup-action 'magit-diff-popup
?e "Edit options" #'magit-diff-refresh-popup)
+ (magit-define-popup-option 'magit-diff-popup
+ ?d "Diff filter" "--diff-filter=")
+ (magit-define-popup-option 'magit-diff-mode-refresh-popup
+ ?d "Diff filter" "--diff-filter=")
+
(magit-change-popup-key 'magit-stash-popup :action
?Z ?s)