emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 13aba24 1/3: Call vc-setup-buffer in vc-git-log-{


From: Tom Tromey
Subject: [Emacs-diffs] emacs-26 13aba24 1/3: Call vc-setup-buffer in vc-git-log-{in, out}going
Date: Sun, 17 Sep 2017 00:31:38 -0400 (EDT)

branch: emacs-26
commit 13aba24adde7e46382daa1e4f0aad194e5232b83
Author: Tom Tromey <address@hidden>
Commit: Tom Tromey <address@hidden>

    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.
---
 lisp/vc/vc-git.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 095f184..9d7a4d4 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]