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
|
||||
(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")
|
||||
|
|
5
magit.el
5
magit.el
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue