summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.el b/init.el
index 7265c28..c44476b 100644
--- a/init.el
+++ b/init.el
@@ -927,6 +927,12 @@
(magit-change-popup-key 'magit-branch-popup :action
?s ?v)
+ (advice-add 'magit-git-fetch
+ :around
+ (lambda (fn &rest args)
+ (let ((magit-process-popup-time 0))
+ (apply fn args)))
+ '((name . "magit-fetch-process")))
(advice-add
'magit-merge-editmsg :around
(lambda (f rev &rest _) (funcall f rev "--no-ff"))