comparison lisp/vc-git.el @ 79517:5f49af3d292b

* vc-git.el (vc-git-dir-state): Fix the git command arguments.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 01 Dec 2007 18:18:47 +0000
parents 25e6b97b8f02
children 2fe98820fa48
comparison
equal deleted inserted replaced
79516:e3d4afef9665 79517:5f49af3d292b
149 'edited 149 'edited
150 'up-to-date))) 150 'up-to-date)))
151 151
152 (defun vc-git-dir-state (dir) 152 (defun vc-git-dir-state (dir)
153 (with-temp-buffer 153 (with-temp-buffer
154 (vc-git-command (current-buffer) nil nil "ls-files" "-t") 154 (vc-git-command (current-buffer) nil nil "ls-files" "-t" "-c" "-m" "-o")
155 (goto-char (point-min)) 155 (goto-char (point-min))
156 (let ((status-char nil) 156 (let ((status-char nil)
157 (file nil)) 157 (file nil))
158 (while (not (eobp)) 158 (while (not (eobp))
159 (setq status-char (char-after)) 159 (setq status-char (char-after))