mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tools/magit: add -r option to magit-pull
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user