summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-04-04 14:14:40 +0100
committerSadie Powell <sadie@witchery.services>2024-04-04 14:16:21 +0100
commit5a54b37aeb61fc832389236af96c46a9c7cb61c5 (patch)
treeed8c42b6b2af8c8cee4de4bc2b0c3d15b762b424
parent2e43665266f8109862c36ded25702680460790a1 (diff)
Remove the g prefix from git hashes.
-rw-r--r--include/version.cpp2
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)