From 3e6a721771595576ca50317aa1ea8c443fff9518 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 1 Jan 2015 11:59:34 -0800 Subject: 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 --- subsurfacestartup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsurfacestartup.c b/subsurfacestartup.c index 48e258169..95578918c 100644 --- a/subsurfacestartup.c +++ b/subsurfacestartup.c @@ -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)); } -- cgit v1.2.3-70-g09d2