summaryrefslogtreecommitdiffstatsci
path: root/src/caskbench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/caskbench.cpp')
-rw-r--r--src/caskbench.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/caskbench.cpp b/src/caskbench.cpp
index 43710e4..62a68df 100644
--- a/src/caskbench.cpp
+++ b/src/caskbench.cpp
@@ -20,6 +20,7 @@
#include "caskbench_result.h"
#include "device_config.h"
#include "tests.h"
+#include "git_info.h"
typedef struct _caskbench_options {
int dry_run;
@@ -85,9 +86,10 @@ _status_to_string(int result)
static void
print_version()
{
- printf("%s version %s\n",
+ printf("%s version %s+%.7s\n",
PACKAGE_NAME,
- PACKAGE_VERSION);
+ PACKAGE_VERSION,
+ git_sha);
}
static void