diff options
| author | Tom Tromey | 2017-09-16 12:30:36 -0600 |
|---|---|---|
| committer | Tom Tromey | 2017-09-16 21:55:05 -0600 |
| commit | 13aba24adde7e46382daa1e4f0aad194e5232b83 (patch) | |
| tree | c41db856cb4d263434fbab4df68b451be9160bff | |
| parent | 1d599df5e0fbbc52e8592c0aff1d23e978c29b67 (diff) | |
| download | emacs-13aba24adde7e46382daa1e4f0aad194e5232b83.tar.gz emacs-13aba24adde7e46382daa1e4f0aad194e5232b83.zip | |
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.
| -rw-r--r-- | lisp/vc/vc-git.el | 2 |
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." | |||
| 1035 | 1035 | ||
| 1036 | (defun vc-git-log-outgoing (buffer remote-location) | 1036 | (defun vc-git-log-outgoing (buffer remote-location) |
| 1037 | (interactive) | 1037 | (interactive) |
| 1038 | (vc-setup-buffer buffer) | ||
| 1038 | (vc-git-command | 1039 | (vc-git-command |
| 1039 | buffer 'async nil | 1040 | buffer 'async nil |
| 1040 | "log" | 1041 | "log" |
| @@ -1048,6 +1049,7 @@ If LIMIT is non-nil, show no more than this many entries." | |||
| 1048 | 1049 | ||
| 1049 | (defun vc-git-log-incoming (buffer remote-location) | 1050 | (defun vc-git-log-incoming (buffer remote-location) |
| 1050 | (interactive) | 1051 | (interactive) |
| 1052 | (vc-setup-buffer buffer) | ||
| 1051 | (vc-git-command nil 0 nil "fetch") | 1053 | (vc-git-command nil 0 nil "fetch") |
| 1052 | (vc-git-command | 1054 | (vc-git-command |
| 1053 | buffer 'async nil | 1055 | buffer 'async nil |