diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-24 14:02:33 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-24 15:08:35 -0800 |
commit | f36693322c1c9fa50e497895afb0242ed7be37c2 (patch) | |
tree | 05402b5782ca3da98efb93808c3bed068b2c2edf /packaging | |
parent | 50d0391dfbf8f63894abeb288dd4467f06f31b4c (diff) | |
download | subsurface-f36693322c1c9fa50e497895afb0242ed7be37c2.tar.gz |
Include git revision in version number
This makes sure that it's easy to tell from the about box whether this is
a released version or a development build.
If it is compiled at the exact location of the tag, "git describe
--tags" will just return the tag-name. Otherwise it will return
something like this
v2.1-393-ge03f31525aab
which means "v2.1 plus 393 commits, git SHA1 of tip is e03f31525aab",
which is a nice combination of git-readable (only the actual SHA1
matters) and human-readable (393 commits on top of v2.1).
And if you don't build from git sources, and don't have git installed,
it falls back on the old "v$(VERSION)" string.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions