Prefix arg allows pulling from a specified location.
This commit is contained in:
parent
2733adb8b6
commit
31387d2f50
1 changed files with 1 additions and 1 deletions
2
magit.el
2
magit.el
|
@ -2917,7 +2917,7 @@ Uncomitted changes in both working tree and staging area are lost.
|
|||
(interactive)
|
||||
(let* ((branch (magit-get-current-branch))
|
||||
(config-branch (and branch (magit-get "branch" branch "merge")))
|
||||
(merge-branch (or config-branch
|
||||
(merge-branch (or (and config-branch (not current-prefix-arg))
|
||||
(magit-read-rev (format "Pull from")))))
|
||||
(if (and branch (not config-branch))
|
||||
(magit-set merge-branch "branch" branch "merge"))
|
||||
|
|
Loading…
Reference in a new issue