tools/magit: add -r option to magit-pull

This commit is contained in:
Henrik Lissner
2019-07-21 19:49:43 +02:00
parent a55a71b8ce
commit cbafa6b749

View File

@ -55,8 +55,10 @@ It is passed a user and repository name.")
(set-popup-rule! "^\\(?:\\*magit\\|magit:\\| \\*transient\\*\\)" :ignore t) (set-popup-rule! "^\\(?:\\*magit\\|magit:\\| \\*transient\\*\\)" :ignore t)
;; Add --tags switch ;; Add --tags switch
(transient-append-suffix 'magit-fetch (transient-append-suffix 'magit-fetch "-p"
"-p" '("-t" "Fetch all tags" ("-t" "--tags"))) '("-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) ;; so magit buffers can be switched to (except for process buffers)
(add-hook 'doom-real-buffer-functions (add-hook 'doom-real-buffer-functions