Always show the full git version when called with --version

This way we finally get the right version shown on Mac and Windows.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-01-01 11:59:34 -08:00
parent 9b247af3f6
commit 3e6a721771

View file

@ -107,7 +107,7 @@ bool imported = false;
static void print_version()
{
printf("Subsurface v%s, ", VERSION_STRING);
printf("Subsurface v%s, ", GIT_VERSION_STRING);
printf("built with libdivecomputer v%s\n", dc_version(NULL));
}