From cbafa6b7498693206deafe2b0b66471655ecf624 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 21 Jul 2019 19:49:43 +0200 Subject: [PATCH] tools/magit: add -r option to magit-pull --- modules/tools/magit/config.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/tools/magit/config.el b/modules/tools/magit/config.el index 744748c65..e3d1ad860 100644 --- a/modules/tools/magit/config.el +++ b/modules/tools/magit/config.el @@ -55,8 +55,10 @@ It is passed a user and repository name.") (set-popup-rule! "^\\(?:\\*magit\\|magit:\\| \\*transient\\*\\)" :ignore t) ;; Add --tags switch - (transient-append-suffix 'magit-fetch - "-p" '("-t" "Fetch all tags" ("-t" "--tags"))) + (transient-append-suffix 'magit-fetch "-p" + '("-t" "Fetch all tags" ("-t" "--tags"))) + (transient-append-suffix 'magit-pull "-r" + '("-a" "Autostash" "--autostash")) ;; so magit buffers can be switched to (except for process buffers) (add-hook 'doom-real-buffer-functions