]> git.eshelyaron.com Git - emacs.git/commit
Fix revision calculation in vc-git-mode-line-string
authorLeo Liu <sdl.web@gmail.com>
Wed, 27 Apr 2016 05:18:04 +0000 (13:18 +0800)
committerLeo Liu <sdl.web@gmail.com>
Wed, 27 Apr 2016 05:18:16 +0000 (13:18 +0800)
commite55d0db95700edd11e71660729566c67b6c563b3
treed3181c47dceb97a17da0425703c934cccf9f7e48
parentca87b349af02cf6761da576ae892d77d167d863e
Fix revision calculation in vc-git-mode-line-string

* lisp/vc/vc-git.el (vc-git-mode-line-string): Use
  vc-git-working-revision because vc-working-revision needs to decide
  the backend and may return nil.
lisp/vc/vc-git.el