diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-01 21:34:54 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-01 21:34:54 +0200 |
| commit | afaa52d6e4db9dd1f45564c1ecfb4e09ddb7c5b5 (patch) | |
| tree | 1083b2f8e8cffe78b17650729bb3f17c0a936009 /lisp/magit-git.el | |
| parent | 75278f8bbbb117e67eb69a60c851a7dbb16164da (diff) | |
magit-read-other{,-local}-branch: Remove NO-REQUIRE-MATCH argument
Diffstat (limited to 'lisp/magit-git.el')
| -rw-r--r-- | lisp/magit-git.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el index aa9999a..22a31db 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -2738,7 +2738,7 @@ and this option only controls what face is used.") (magit-get-current-branch)))) (defun magit-read-other-branch - (prompt &optional exclude secondary-default no-require-match) + (prompt &optional exclude secondary-default) (let* ((current (magit-get-current-branch)) (atpoint (magit-branch-at-point)) (exclude (or exclude current)) @@ -2747,8 +2747,7 @@ and this option only controls what face is used.") secondary-default (magit-get-previous-branch)))) (magit-completing-read prompt (delete exclude (magit-list-branch-names)) - nil (not no-require-match) - nil 'magit-revision-history default))) + nil t nil 'magit-revision-history default))) (defun magit-read-other-branch-or-commit (prompt &optional exclude secondary-default) @@ -2768,7 +2767,7 @@ and this option only controls what face is used.") (user-error "Nothing selected"))))) (defun magit-read-other-local-branch - (prompt &optional exclude secondary-default no-require-match) + (prompt &optional exclude secondary-default) (let* ((current (magit-get-current-branch)) (atpoint (magit-local-branch-at-point)) (exclude (or exclude current)) @@ -2778,8 +2777,7 @@ and this option only controls what face is used.") (magit-get-previous-branch)))) (magit-completing-read prompt (delete exclude (magit-list-local-branch-names)) - nil (not no-require-match) - nil 'magit-revision-history default))) + nil t nil 'magit-revision-history default))) (defun magit-read-branch-prefer-other (prompt) (let* ((current (magit-get-current-branch)) |
