aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-remote.el
diff options
context:
space:
mode:
authorgemmaro <gemmaro.dev@gmail.com>2025-01-28 14:37:47 +0900
committergemmaro <gemmaro.dev@gmail.com>2025-01-28 14:37:47 +0900
commit94002127748cc47841723a379b97f0615259c25e (patch)
tree8a2d236502862c2c322ab23a90e090a6aa8f7a2c /lisp/magit-remote.el
parent0f835cea8e62d3576b84e95ae12b2f358c862aea (diff)
magit-remote-prune-refspecs: Remove redundant "or" from prompt
* lisp/magit-remote.el (magit-remote-prune-refspecs): The magit-read-char-case macro now automatically formats prompt messages in natural English and adds "or" for the last entry. This update removes the redundant "or" from the prompt message.
Diffstat (limited to 'lisp/magit-remote.el')
-rw-r--r--lisp/magit-remote.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-remote.el b/lisp/magit-remote.el
index 8102c4d..03df57a 100644
--- a/lisp/magit-remote.el
+++ b/lisp/magit-remote.el
@@ -199,7 +199,7 @@ the now stale refspecs. Other stale branches are not removed."
variable))
(?r "[r]emove remote"
(magit-call-git "remote" "rm" remote))
- (?a "or [a]abort"
+ (?a "[a]abort"
(user-error "Abort")))
(if (if (length= stale 1)
(pcase-let ((`(,refspec . ,refs) (car stale)))