From: Dan Nicolaescu Date: Thu, 29 Nov 2007 07:22:01 +0000 (+0000) Subject: * vc-git.el (vc-git-dir-state): Fix the git command arguments. X-Git-Tag: emacs-pretest-23.0.90~9250 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d6d388da3474f4df69b70aef4b7e32a17677bde;p=emacs.git * vc-git.el (vc-git-dir-state): Fix the git command arguments. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 19f2ce602b6..e8a3bd526bc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2007-11-29 Alexandre Julliard + + * vc-git.el (vc-git-dir-state): Fix the git command arguments. + 2007-11-29 Ari Roponen (tiny change) * calendar/time-date.el (encode-time-value): Doc fix. diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 1d0297209b5..6fd6849281b 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el @@ -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))