diff options
author | Sadie Powell <sadie@witchery.services> | 2024-04-04 14:14:40 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-04-04 14:16:21 +0100 |
commit | 5a54b37aeb61fc832389236af96c46a9c7cb61c5 (patch) | |
tree | ed8c42b6b2af8c8cee4de4bc2b0c3d15b762b424 /include/version.cpp | |
parent | 2e43665266f8109862c36ded25702680460790a1 (diff) |
Remove the g prefix from git hashes.
Diffstat (limited to 'include/version.cpp')
-rw-r--r-- | include/version.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string, std::string> &versions) |