diff lisp/vc-git.el @ 94729:bf91c987049c

Remove VC-Dired and backend dir-state methods.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Wed, 07 May 2008 21:27:41 +0000
parents ee5932bf781d
children eedf64b515f0
line wrap: on
line diff
--- a/lisp/vc-git.el	Wed May 07 18:18:04 2008 +0000
+++ b/lisp/vc-git.el	Wed May 07 21:27:41 2008 +0000
@@ -50,7 +50,6 @@
 ;; * registered (file)				   OK
 ;; * state (file)				   OK
 ;; - state-heuristic (file)			   NOT NEEDED
-;; - dir-state (dir)				   OK
 ;; * working-revision (file)			   OK
 ;; - latest-on-branch-p (file)			   NOT NEEDED
 ;; * checkout-model (files)			   OK
@@ -175,14 +174,6 @@
 	  (vc-file-setprop file 'vc-state state))
 	(setq start (point))))))
 
-(defun vc-git-dir-state (dir)
-  "Git-specific version of `dir-state'."
-  (vc-git--ls-files-state 'up-to-date "-c")
-  (vc-git--ls-files-state 'edited "-m")
-  (vc-git--ls-files-state 'removed "-d")
-  (vc-git--ls-files-state 'ignored "-o" "-i" "--exclude-standard")
-  (vc-git--ls-files-state nil "-o" "--exclude-standard"))
-
 (defun vc-git-working-revision (file)
   "Git-specific version of `vc-working-revision'."
   (let ((str (with-output-to-string