summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xGIT-VERSION-GEN2
-rw-r--r--help.c9
2 files changed, 10 insertions, 1 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index fdcebd2c58..4a99958b45 100755
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
@@ -26,7 +26,7 @@ else
VN="$DEF_VER"
fi
-VN=$(expr "$VN" : v*'\(.*\)')
+VN=$(expr "$VN" : v*'\(.*\)')"-tgif"
if test -r $GVF
then
diff --git a/help.c b/help.c
index 41c41c2aa1..45a10fedb3 100644
--- a/help.c
+++ b/help.c
@@ -14,6 +14,10 @@
#include "prompt.h"
#include "fsmonitor-ipc.h"
+#if defined(USE_SQLITE)
+#include <sqlite3.h>
+#endif
+
struct category_description {
uint32_t category;
const char *desc;
@@ -718,6 +722,11 @@ void get_version_info(struct strbuf *buf, int show_build_options)
if (fsmonitor_ipc__is_supported())
strbuf_addstr(buf, "feature: fsmonitor--daemon\n");
+
+#if defined(USE_SQLITE)
+ strbuf_addf(buf, "sqlite-headers: %s\n", SQLITE_VERSION);
+ strbuf_addf(buf, "sqlite-library: %s\n", sqlite3_libversion());
+#endif
}
}