Commit Diff


commit - 2217122fb8636cfa0f69cef4dac6f3b172f4abe2
commit + 3ec0e0cae3d6d38ca12cedb0cba4f63fe6fff8e4
blob - 111e4921266b0e4f2e70a360a23e22422fcb947a
blob + 004b64be25f8c3d5309cd9edbdd94a99184c3fb2
--- vc-got.el
+++ vc-got.el
@@ -711,9 +711,10 @@ START-REVISION."
     (with-current-buffer buffer
       (vc-got--log nil nil nil rl))))
 
-(defun vc-got-incoming (buffer remote-location)
+(defun vc-got-log-incoming (buffer remote-location)
   "Fill BUFFER with the incoming diff from REMOTE-LOCATION.
 That is, the diff between REMOTE-LOCATION and the local repository."
+  (vc-setup-buffer buffer)
   (let ((rl (if (or (not remote-location) (string-empty-p remote-location))
                 (concat "origin/" (vc-got--current-branch))
               remote-location))