summaryrefslogtreecommitdiff
path: root/lisp/vc-git.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>2008-05-07 21:27:41 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>2008-05-07 21:27:41 +0000
commit4903369afeabaf913164f07fccd285e8284627ff (patch)
tree493ff84060d00c69c71c88fe713f191f52a24792 /lisp/vc-git.el
parent9ba4a350430255da3e7465325b66ee99e5fdae7e (diff)
downloademacs-4903369afeabaf913164f07fccd285e8284627ff.tar.gz
Remove VC-Dired and backend dir-state methods.
Diffstat (limited to 'lisp/vc-git.el')
-rw-r--r--lisp/vc-git.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index 2da2c7e6937..27b35c4240b 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -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