diff --git a/modules/tools/magit/config.el b/modules/tools/magit/config.el index 8aa9013c0..7f57954c1 100644 --- a/modules/tools/magit/config.el +++ b/modules/tools/magit/config.el @@ -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