changeset 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 d9f3c50440dc
children 07648bba8409
files lisp/ChangeLog lisp/vc-git.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Nov 29 04:47:41 2007 +0000
+++ b/lisp/ChangeLog	Thu Nov 29 07:22:01 2007 +0000
@@ -1,3 +1,7 @@
+2007-11-29  Alexandre Julliard  <julliard@winehq.org>
+
+	* vc-git.el (vc-git-dir-state): Fix the git command arguments.
+
 2007-11-29  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
 
 	* calendar/time-date.el (encode-time-value): Doc fix.
--- a/lisp/vc-git.el	Thu Nov 29 04:47:41 2007 +0000
+++ b/lisp/vc-git.el	Thu Nov 29 07:22:01 2007 +0000
@@ -152,7 +152,7 @@
 
 (defun vc-git-dir-state (dir)
   (with-temp-buffer
-    (vc-git-command (current-buffer) nil nil "ls-files" "-t")
+    (vc-git-command (current-buffer) nil nil "ls-files" "-t" "-c" "-m" "-o")
     (goto-char (point-min))
     (let ((status-char nil)
 	  (file nil))