mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -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)
|
||||
|
||||
;; 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
|
||||
|
Reference in New Issue
Block a user