diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2026-03-22 22:03:33 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2026-03-22 22:03:33 +0100 |
| commit | f44c6424ce03dd2536b8e8833ea3b2405f93fdba (patch) | |
| tree | f784986c1a2e16eba428e2d479526ace3e3e01cf /lisp/magit-git.el | |
| parent | dae7a9c87866acc12b51e9165696915945a16614 (diff) | |
magit-read-range: Remove misleading crm hint from prompt
Closes #5538.
Diffstat (limited to 'lisp/magit-git.el')
| -rw-r--r-- | lisp/magit-git.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el index 67782ae..0741b92 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -2741,10 +2741,11 @@ If either revision cannot be dereferenced as a commit, signal an error." (lambda () (magit--minibuf-default-add-commit) (setq-local crm-separator "\\.\\.\\.?")) - (magit-completing-read-multiple - (concat prompt ": ") - (magit-list-refnames) - nil 'any nil 'magit-revision-history default nil t))) + (let ((crm-prompt "%p")) + (magit-completing-read-multiple + (concat prompt ": ") + (magit-list-refnames) + nil 'any nil 'magit-revision-history default nil t)))) (defun magit-read-remote-branch (prompt &optional remote default local-branch require-match) |
