From: Dan Nicolaescu Date: Sat, 1 Dec 2007 18:18:47 +0000 (+0000) Subject: * vc-git.el (vc-git-dir-state): Fix the git command arguments. X-Git-Tag: emacs-pretest-22.1.90~299 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff71e76d0391c44f1a16f93ba1b363230417634c;p=emacs.git * vc-git.el (vc-git-dir-state): Fix the git command arguments. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f54280e5651..e21b1d2def9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2007-12-01 Alexandre Julliard + + * vc-git.el (vc-git-dir-state): Fix the git command arguments. + 2007-11-30 Stefan Monnier * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 88946f160ff..be5bbcfe43e 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el @@ -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))