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
28 ///28 ///
29 /// Note that it is always conforming to the hash used in the owning repository.29 /// Note that it is always conforming to the hash used in the owning repository.
30 pub fn hash_kind(&self) -> git_hash::Kind {30 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)
32 }32 }
33 33
34 /// Returns an object id at the given index in our list of (sorted) hashes.34 /// Returns an object id at the given index in our list of (sorted) hashes.