Commit Diff


commit - 5b4a6b90934a88444422e199dcde129e7db4ed8e
commit + cf4e3ebe40038ce0bfff250a345070556b386fe1
blob - 090838d3707a943a65b0de965b88ebc6353d93b4
blob + 44219010d555bd885ac281c82a75b6163594b026
--- vc-got.el
+++ vc-got.el
@@ -391,7 +391,9 @@ tree."
     (with-temp-buffer
       (when (zerop (vc-got--call "status" file))
         (goto-char (point-min))
-        (vc-got--parse-status-char (char-after))))))
+        (if (eobp)
+            'up-to-date
+          (vc-got--parse-status-char (char-after)))))))
 
 (defun vc-got-dir-status-files (dir files update-function)
   "Build the status for FILES in DIR.