From 5a54b37aeb61fc832389236af96c46a9c7cb61c5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 4 Apr 2024 14:14:40 +0100 Subject: Remove the g prefix from git hashes. --- include/version.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/version.cpp') diff --git a/include/version.cpp b/include/version.cpp index a33d42881..76a4d3c40 100644 --- a/include/version.cpp +++ b/include/version.cpp @@ -42,7 +42,7 @@ static std::string get_git_hash(const std::string &git_dir) } fd.close(); - return "g" + filebuf.substr(0, 7); + return filebuf.substr(0, 7); } static bool read_version_sh(const std::string &version_sh, std::map &versions) -- cgit