Commit Diff


commit - 20cee209dece2d1a49daf68e043aa6e78b8a13e9
commit + 2217122fb8636cfa0f69cef4dac6f3b172f4abe2
blob - 2221b68a98e642c7cd24a98a5621d7820a7f7253
blob + 111e4921266b0e4f2e70a360a23e22422fcb947a
--- vc-got.el
+++ vc-got.el
@@ -691,8 +691,8 @@ It's like `vc-process-filter' but supports \r inside S
   "Insert the revision log for FILES into BUFFER.
 LIMIT limits the number of commits, optionally starting at
 START-REVISION."
+  (vc-setup-buffer buffer)
   (with-current-buffer buffer
-    ;; the *vc-diff* may be read only
     (let ((inhibit-read-only t))
       (cl-loop for file in files
                do (vc-got--log (file-relative-name file)