Showing the changes to git-commitgraph/src/file/commit.rs (1 of 51 files). Show all
Unified · Split
| @@ -16,13 +16,13 @@ use std::{ · 15 unmodified lines | |||
| 16 | #[allow(missing_docs)] | 16 | #[allow(missing_docs)] |
| 17 | pub enum Error { | 17 | pub enum Error { |
| 18 | #[error("commit {0}'s extra edges overflows the commit-graph file's extra edges list")] | 18 | #[error("commit {0}'s extra edges overflows the commit-graph file's extra edges list")] |
| 19 | ExtraEdgesListOverflow(git_hash::Id), | 19 | ExtraEdgesListOverflow(git_hash::ObjectId), |
| 20 | #[error("commit {0}'s first parent is an extra edge index, which is invalid")] | 20 | #[error("commit {0}'s first parent is an extra edge index, which is invalid")] |
| 21 | FirstParentIsExtraEdgeIndex(git_hash::Id), | 21 | FirstParentIsExtraEdgeIndex(git_hash::ObjectId), |
| 22 | #[error("commit {0} has extra edges, but commit-graph file has no extra edges list")] | 22 | #[error("commit {0} has extra edges, but commit-graph file has no extra edges list")] |
| 23 | MissingExtraEdgesList(git_hash::Id), | 23 | MissingExtraEdgesList(git_hash::ObjectId), |
| 24 | #[error("commit {0} has a second parent but not a first parent")] | 24 | #[error("commit {0} has a second parent but not a first parent")] |
| 25 | SecondParentWithoutFirstParent(git_hash::Id), | 25 | SecondParentWithoutFirstParent(git_hash::ObjectId), |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | // Note that git's commit-graph-format.txt as of v2.28.0 gives an incorrect value 0x0700_0000 for | 28 | // Note that git's commit-graph-format.txt as of v2.28.0 gives an incorrect value 0x0700_0000 for |