Subject: bug#21383: Static revisions in vc-working-revision

From: Dmitry Gutov <[email-masked]>
Date: Mon, 31 Aug 2015 11:47:21 +0300

On 08/31/2015 07:45 AM, Stefan Monnier wrote:

> Actually, I think what you're getting at, is that the current vc-git
> backend has a bug: the working-revision should not just be the branch
> name, but should be the actual commit id.

That's one possible conclusion. But if we simply change 
vc-git-working-revision to always return a concrete revision, 
vc-git-mode-line-string would return it as well.

And being able to see the current branch in the mode-line is pretty handy.