Make vc-git-working-revision always return the commit hash
commit21d6414a4b0f37b2381859eeebf66908b6568c31
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 1 Sep 2015 12:02:52 +0000 (1 15:02 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 1 Sep 2015 12:03:30 +0000 (1 15:03 +0300)
tree32a95543a0bc30caa98b7b94643f7393e223cc71
parent3e0e2339cd379eeba8d9bc758f2e8e574144e252
Make vc-git-working-revision always return the commit hash

* lisp/vc/vc-git.el (vc-git-working-revision):
Return the commit hash (bug#21383).
(vc-git--symbolic-ref): New function, extracted from above.
(vc-git-mode-line-string): Use it.
lisp/vc/vc-git.el