I am writing some Elisp for a package. I was using
vc-working-revision to identify the current revision. But it only returns the branch name, not the hash that name points to. Therefore, this information goes out of date quickly (
master now is not
master 20min from now).
(I was surprised. Branch names have little to do with revisions.)
I would like to (cross vc-system) get a unique identifier for the current head that is not time-sensitive with
vc. How can I do this?