branch: externals/vc-got
commit cf4e3ebe40038ce0bfff250a345070556b386fe1
Author: Omar Polo <[email protected]>
Commit: Omar Polo <[email protected]>
fix vc-got-dir-status-files
after the last change to vc-got--status it wouldn't return
'up-to-date.
---
vc-got.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vc-got.el b/vc-got.el
index 090838d..4421901 100755
--- a/vc-got.el
+++ b/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.