comparison lisp/vc-git.el @ 86830:7c0a55a957d0

* vc-git.el (vc-git-dir-state): Fix the git command arguments.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 29 Nov 2007 07:22:01 +0000
parents 68e2cdfcf931
children c5df210848ca
comparison
equal deleted inserted replaced
86829:d9f3c50440dc 86830:7c0a55a957d0
150 'edited 150 'edited
151 'up-to-date))) 151 'up-to-date)))
152 152
153 (defun vc-git-dir-state (dir) 153 (defun vc-git-dir-state (dir)
154 (with-temp-buffer 154 (with-temp-buffer
155 (vc-git-command (current-buffer) nil nil "ls-files" "-t") 155 (vc-git-command (current-buffer) nil nil "ls-files" "-t" "-c" "-m" "-o")
156 (goto-char (point-min)) 156 (goto-char (point-min))
157 (let ((status-char nil) 157 (let ((status-char nil)
158 (file nil)) 158 (file nil))
159 (while (not (eobp)) 159 (while (not (eobp))
160 (setq status-char (char-after)) 160 (setq status-char (char-after))