elua/elua — comment on commit 7e6ea54e9b358809b6e56be68506d1888cf8045d
File: src/modules/elua.c line 19
By jsnyder:

I left the fallback in place in case the code I wrote to query git fails or the user doesn't have git on their system for whatever reason.

On the front of showing the "official" version, try checking out the v0.8 tag and then running, "git describe --always" It should say:
v0.8

:-)

Currently, there isn't a tag to refer back to to use for a base version but usually what it should do is refer back to the most recent tag and then include a chunk of the git hash if it's further down the line than the tag. i.e. when I do that same command for a version of git2svn that I have, whose last tag is git2svn-0.4, I get:
git2svn-0.4-6-ga9954fe

So, the last tag was "git2svn-0.4", there have been 6 commits since, and the current commit abbreviation is "ga9954fe"

So, in the future after we do a release, say, v0.9, this would get the following version:
v0.9

but for subsequent versions that differ from 0.9 you'd get something like:
v0.9-23-g975b23

Ultimately, the idea would be that you could just use this and you would get correct version strings for both releases and for devel versions.

I've gotten tired of not having any clue what source revision a given build came out of :-)