* vc/vc-git.el (vc-git-registered): Use cache property
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 30 Jun 2012 13:18:16 +0000 (15:18 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 30 Jun 2012 13:18:16 +0000 (15:18 +0200)
commita40c87a0093d46699082914a4487bd364eb0136e
treed796597d0eacc930b8f1e45bf9bd303f45e5e6fb
parentac87de9763fbe6bf30fce7e85568a4195cf67ef5
* vc/vc-git.el (vc-git-registered): Use cache property
`git-registered'.
(vc-git-mode-line-string): Call `vc-working-revision' instead of
`vc-git-working-revision' in order to benefit from the cache.
(vc-git-root): Use cache property `git-root'.
lisp/ChangeLog
lisp/vc/vc-git.el