Add git version number to org-version information
commita5e87a47230030ab4c4bc4521f5af47a7521243a
authorBernt Hansen <bernt@norang.ca>
Tue, 18 Aug 2009 15:57:36 +0000 (18 11:57 -0400)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 18 Aug 2009 19:05:45 +0000 (18 20:05 +0100)
tree9fc2233266ff499f4f76b6997fc5909653290614
parent8c338128548fc00de808674f4f814594efc8188a
Add git version number to org-version information

Adds the output of 'git describe' to the org-version string if we are running
from a git repository.  This identifies exactly what commit is checked out in
the org-mode git repository when reporting the org-mode version number.

org-version returns something like:

    Org-mode version 6.29trans (release_6.29c.42.g5996)

which shows 6.29trans (somewhere after the last release tag) which
is 42 commits after release_6.29c at git commit 5996.

The git describe information is not included if org mode is not
running from a git repository.
lisp/org.el