Showing the changes to git-commitgraph/src (1 of 1 file). Show all
Unified · Split
| @@ -92,7 +92,7 @@ impl TryFrom<&Path> for File { · 91 unmodified lines | |||
| 92 | }; | 92 | }; |
| 93 | ofs += 1; | 93 | ofs += 1; |
| 94 | 94 | ||
| 95 | let object_hash = git_hash::Kind::try_from(data[ofs]).map_err(|x| Error::UnsupportedHashVersion(x))?; | 95 | let object_hash = git_hash::Kind::try_from(data[ofs]).map_err(Error::UnsupportedHashVersion)?; |
| 96 | ofs += 1; | 96 | ofs += 1; |
| 97 | 97 | ||
| 98 | let chunk_count = data[ofs]; | 98 | let chunk_count = data[ofs]; |