Call vc-setup-buffer in vc-git-log-{in,out}going

Bug#28427:
* lisp/vc/vc-git.el (vc-git-log-incoming, vc-git-log-outgoing): Call
vc-setup-buffer.
This commit is contained in:
Tom Tromey 2017-09-16 12:30:36 -06:00
parent 1d599df5e0
commit 13aba24add

View file

@ -1035,6 +1035,7 @@ If LIMIT is non-nil, show no more than this many entries."
(defun vc-git-log-outgoing (buffer remote-location)
(interactive)
(vc-setup-buffer buffer)
(vc-git-command
buffer 'async nil
"log"
@ -1048,6 +1049,7 @@ If LIMIT is non-nil, show no more than this many entries."
(defun vc-git-log-incoming (buffer remote-location)
(interactive)
(vc-setup-buffer buffer)
(vc-git-command nil 0 nil "fetch")
(vc-git-command
buffer 'async nil