Commit d289ec13 authored by Kyle Meyer's avatar Kyle Meyer

magit-push-refspecs: use magit-completing-read-multiple

... so that the collection of branch names is displayed in the
original order.
parent 6fcf994b
......@@ -579,9 +579,10 @@ only available for the part before the colon, or when no colon
is used."
(interactive
(list (magit-read-remote "Push to remote")
(completing-read-multiple
"Push refspec,s: "
(cons "HEAD" (magit-list-local-branch-names)))
(split-string (magit-completing-read-multiple
"Push refspec,s"
(cons "HEAD" (magit-list-local-branch-names)))
crm-default-separator t)
(magit-push-arguments)))
(run-hooks 'magit-credential-hook)
(magit-run-git-async "push" "-v" args remote refspecs))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment