From 10f60e7918633f3fa5ef9aba16228b8c066413ed Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 13 May 2019 00:20:06 -0400 Subject: [PATCH] tools/magit: add -t/--tags action to magit-fetch --- modules/tools/magit/config.el | 4 ++++ 1 file changed, 4 insertions(+) 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