From ff71e76d0391c44f1a16f93ba1b363230417634c Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sat, 1 Dec 2007 18:18:47 +0000 Subject: [PATCH] * vc-git.el (vc-git-dir-state): Fix the git command arguments. --- lisp/ChangeLog | 4 ++++ lisp/vc-git.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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)) -- 2.39.2