Added fetch-other and removed useless fetch option.

This commit is contained in:
Phil Jackson 2010-09-22 14:55:14 +01:00
parent 34025078c5
commit 2123b72ec5
2 changed files with 8 additions and 3 deletions

View file

@ -49,9 +49,9 @@
(fetching
(man-page "git-fetch")
(actions
("f" "Fetch" magit-fetch))
(switches
("-a" "All" "--all")))
("f" "Current" magit-fetch-current)
("a" "All" magit-remote-update)
("o" "Other" magit-fetch)))
(pushing
(man-page "git-push")

View file

@ -3080,6 +3080,11 @@ Uncomitted changes in both working tree and staging area are lost.
(interactive)
(magit-run-git-async "fetch" (magit-read-remote)))
(magit-define-command fetch-current ()
"Run fetch."
(interactive)
(magit-run-git-async "fetch"))
(magit-define-command remote-update ()
"Update all remotes."
(interactive)