summaryrefslogtreecommitdiff
path: root/lisp/vc-git.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc-git.el')
-rw-r--r--lisp/vc-git.el2
1 files changed, 1 insertions, 1 deletions
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))