Commit df86fc6f authored by Jonas Bernoulli's avatar Jonas Bernoulli

magit-fetch: move definition

parent 9f873f6f
......@@ -84,13 +84,6 @@
(?a "All" magit-fetch-all))
:default-action 'magit-fetch-current)
;;;###autoload
(defun magit-fetch (remote &optional args)
"Fetch from REMOTE."
(interactive (list (magit-read-remote "Fetch remote")
magit-current-popup-args))
(magit-run-git-async "fetch" remote args))
;;;###autoload
(defun magit-fetch-current (&optional args)
"Fetch for the default remote.
......@@ -100,6 +93,13 @@ If there is no default remote, ask for one."
(magit-read-remote "Fetch remote"))
args))
;;;###autoload
(defun magit-fetch (remote &optional args)
"Fetch from REMOTE."
(interactive (list (magit-read-remote "Fetch remote")
magit-current-popup-args))
(magit-run-git-async "fetch" remote args))
;;;###autoload
(defun magit-fetch-all (&optional args)
"Update all remotes."
......
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