tools/magit: add -t/--tags action to magit-fetch
This commit is contained in:
parent
f696ff32f4
commit
10f60e7918
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ It is passed a user and repository name.")
|
|||
(setq magit-display-buffer-function #'+magit-display-buffer)
|
||||
(set-popup-rule! "^\\(?:\\*magit\\|magit:\\)" :ignore t)
|
||||
|
||||
;; Add --tags switch
|
||||
(transient-append-suffix 'magit-fetch
|
||||
"-p" '("-t" "Fetch all tags" ("-t" "--tags")))
|
||||
|
||||
;; so magit buffers can be switched to (except for process buffers)
|
||||
(defun +magit-buffer-p (buf)
|
||||
(with-current-buffer buf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue