summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-git.el
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-16 12:30:36 -0600
committerTom Tromey <tom@tromey.com>2017-09-16 21:55:05 -0600
commit13aba24adde7e46382daa1e4f0aad194e5232b83 (patch)
treec41db856cb4d263434fbab4df68b451be9160bff /lisp/vc/vc-git.el
parent1d599df5e0fbbc52e8592c0aff1d23e978c29b67 (diff)
downloademacs-13aba24adde7e46382daa1e4f0aad194e5232b83.tar.gz
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.
Diffstat (limited to 'lisp/vc/vc-git.el')
-rw-r--r--lisp/vc/vc-git.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 095f184ddf1..9d7a4d49b8b 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -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