History

Adjust to changes in git-hash and git-pack (#279)

Sebastian Thiel committed 4 years ago

Commit 0cae25b1 parent 629412b11 files · +19 −6Browse files

Showing the changes to git-commitgraph/src (1 of 11 files). Show all

Unified · Split

git-commitgraph/src/file/access.rs+1−1
@@ -28,7 +28,7 @@ impl File { · 27 unmodified lines
2828 ///
2929 /// Note that it is always conforming to the hash used in the owning repository.
3030 pub fn hash_kind(&self) -> git_hash::Kind {
31− git_hash::Kind::from_len_in_bytes(self.hash_len).expect("hash len validated during init")
31+ git_hash::Kind::from_len_in_bytes(self.hash_len)
3232 }
3333
3434 /// Returns an object id at the given index in our list of (sorted) hashes.