Make magit-update-remote respect a named remote above SVN.

This commit is contained in:
Nathan Weizenbaum 2010-06-10 16:09:58 -07:00
parent 5744d3ec98
commit 7ef0b9e9cb

View file

@ -2985,8 +2985,8 @@ prefix arg is given. With prefix arg, prompt for a remote and
update it."
(interactive (list (when current-prefix-arg (magit-read-remote))))
(cond
((magit-svn-enabled) (magit-run-git-async "svn" "fetch"))
(remote (magit-run-git-async "fetch" remote))
((magit-svn-enabled) (magit-run-git-async "svn" "fetch"))
(t (magit-run-git-async "remote" "update"))))
(defun magit-pull ()