changeset 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 e3d4afef9665
children b6ebe0c6d1cb
files lisp/ChangeLog lisp/vc-git.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Dec 01 13:00:16 2007 +0000
+++ b/lisp/ChangeLog	Sat Dec 01 18:18:47 2007 +0000
@@ -1,3 +1,7 @@
+2007-12-01  Alexandre Julliard  <julliard@winehq.org>
+
+	* vc-git.el (vc-git-dir-state): Fix the git command arguments.
+
 2007-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
--- a/lisp/vc-git.el	Sat Dec 01 13:00:16 2007 +0000
+++ b/lisp/vc-git.el	Sat Dec 01 18:18:47 2007 +0000
@@ -151,7 +151,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))