branch: elpa/git-commit commit a003d3c11cdf13b959c2a9061f7066ebcf1bebbe Author: ziggy <zi...@elephant-bird.net> Commit: ziggy <zi...@elephant-bird.net>
magit-clone-internal: correctly get origin value from args --- lisp/magit-clone.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/magit-clone.el b/lisp/magit-clone.el index 3c6a781010..242113e91d 100644 --- a/lisp/magit-clone.el +++ b/lisp/magit-clone.el @@ -238,7 +238,7 @@ Then show the status buffer for the new repository." (defun magit-clone-internal (repository directory args &optional sparse) (let* ((checkout (not (member (car args) '("--bare" "--mirror")))) - (remote (or (transient-arg-value "--origin" args) + (remote (or (transient-arg-value "--origin=" args) (magit-get "clone.defaultRemote") "origin")) (set-push-default