Added fetch-other and removed useless fetch option.
This commit is contained in:
parent
34025078c5
commit
2123b72ec5
2 changed files with 8 additions and 3 deletions
|
@ -49,9 +49,9 @@
|
||||||
(fetching
|
(fetching
|
||||||
(man-page "git-fetch")
|
(man-page "git-fetch")
|
||||||
(actions
|
(actions
|
||||||
("f" "Fetch" magit-fetch))
|
("f" "Current" magit-fetch-current)
|
||||||
(switches
|
("a" "All" magit-remote-update)
|
||||||
("-a" "All" "--all")))
|
("o" "Other" magit-fetch)))
|
||||||
|
|
||||||
(pushing
|
(pushing
|
||||||
(man-page "git-push")
|
(man-page "git-push")
|
||||||
|
|
5
magit.el
5
magit.el
|
@ -3080,6 +3080,11 @@ Uncomitted changes in both working tree and staging area are lost.
|
||||||
(interactive)
|
(interactive)
|
||||||
(magit-run-git-async "fetch" (magit-read-remote)))
|
(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 ()
|
(magit-define-command remote-update ()
|
||||||
"Update all remotes."
|
"Update all remotes."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
Loading…
Reference in a new issue