diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index a9856ee40d..2ed5bdffcd 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1218,7 +1218,8 @@ vc-git-log-outgoing (defun vc-git-log-incoming (buffer remote-location) (vc-setup-buffer buffer) - (vc-git-command nil 0 nil "fetch") + (vc-git-command nil 0 nil "fetch" (unless (string= remote-location "") + remote-location)) (vc-git-command buffer 'async nil "log"