diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-04-19 15:14:06 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-04-19 15:14:06 +0000 |
commit | 41e755bee4fbd24e5bc2e5ab50820d7bd3f3ab91 (patch) | |
tree | 00bda76dee940551d7bff960bc4e981e6ce9cdf7 /src/libutil/hash.hh | |
parent | fda2224b591c2667d18fb815f117f48b45a54cb1 (diff) | |
parent | 51712bf0127e995c94a4b598b045d52cf667dcef (diff) |
Merge remote-tracking branch 'upstream/master' into indexed-store-path-outputs
Diffstat (limited to 'src/libutil/hash.hh')
-rw-r--r-- | src/libutil/hash.hh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libutil/hash.hh b/src/libutil/hash.hh index 56b5938b3..00f70a572 100644 --- a/src/libutil/hash.hh +++ b/src/libutil/hash.hh @@ -93,13 +93,11 @@ public: std::string gitRev() const { - assert(type == htSHA1); return to_string(Base16, false); } std::string gitShortRev() const { - assert(type == htSHA1); return std::string(to_string(Base16, false), 0, 7); } |