Mercurial > emacs
diff lisp/vc-git.el @ 94563:a0bb8ca25a33
Clean up vc*-revision-granularity and vc*-checkout-model.
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Fri, 02 May 2008 17:47:25 +0000 |
parents | fee32a11924d |
children | 3bdffe280ad3 |
line wrap: on
line diff
--- a/lisp/vc-git.el Fri May 02 17:39:02 2008 +0000 +++ b/lisp/vc-git.el Fri May 02 17:47:25 2008 +0000 @@ -55,7 +55,7 @@ ;; - dir-state (dir) OK ;; * working-revision (file) OK ;; - latest-on-branch-p (file) NOT NEEDED -;; * checkout-model (file) OK +;; * checkout-model (files) OK ;; - workfile-unchanged-p (file) OK ;; - mode-line-string (file) OK ;; - prettify-state-info (file) OK @@ -118,8 +118,8 @@ ;;; BACKEND PROPERTIES -(defun vc-git-revision-granularity () - 'repository) +(defun vc-git-revision-granularity () 'repository) +(defun vc-git-checkout-model (files) 'implicit) ;;; STATE-QUERYING FUNCTIONS @@ -195,8 +195,6 @@ (match-string 2 str) str))) -(defun vc-git-checkout-model (files) 'implicit) - (defun vc-git-workfile-unchanged-p (file) (eq 'up-to-date (vc-git-state file)))