Showing the changes to git-commitgraph/src/file/commit.rs (1 of 60 files). Show all
Unified · Split
| @@ -5,7 +5,6 @@ use crate::{ · 4 unmodified lines | ||
| 5 | 5 | }; |
| 6 | 6 | use byteorder::{BigEndian, ByteOrder}; |
| 7 | 7 | use git_hash::SIZE_OF_SHA1_DIGEST as SHA1_SIZE; |
| 8 | −use git_object::owned; | |
| 9 | 8 | use std::{ |
| 10 | 9 | convert::{TryFrom, TryInto}, |
| 11 | 10 | fmt::{Debug, Formatter}, |
| @@ -17,13 +16,13 @@ use std::{ · 5 unmodified lines | ||
| 17 | 16 | #[allow(missing_docs)] |
| 18 | 17 | pub enum Error { |
| 19 | 18 | #[error("commit {0}'s extra edges overflows the commit-graph file's extra edges list")] |
| 20 | − ExtraEdgesListOverflow(owned::Id), | |
| 19 | + ExtraEdgesListOverflow(git_hash::Id), | |
| 21 | 20 | #[error("commit {0}'s first parent is an extra edge index, which is invalid")] |
| 22 | − FirstParentIsExtraEdgeIndex(owned::Id), | |
| 21 | + FirstParentIsExtraEdgeIndex(git_hash::Id), | |
| 23 | 22 | #[error("commit {0} has extra edges, but commit-graph file has no extra edges list")] |
| 24 | − MissingExtraEdgesList(owned::Id), | |
| 23 | + MissingExtraEdgesList(git_hash::Id), | |
| 25 | 24 | #[error("commit {0} has a second parent but not a first parent")] |
| 26 | − SecondParentWithoutFirstParent(owned::Id), | |
| 25 | + SecondParentWithoutFirstParent(git_hash::Id), | |
| 27 | 26 | } |
| 28 | 27 | |
| 29 | 28 | // Note that git's commit-graph-format.txt as of v2.28.0 gives an incorrect value 0x0700_0000 for |