History

Make ObjectId/oid happen! (#63)

Sebastian Thiel committed 5 years ago

Commit ca78d151 parent b3fc36551 files · +216 −209Browse files

Showing the changes to git-commitgraph/src/file/commit.rs (1 of 51 files). Show all

Unified · Split

git-commitgraph/src/file/commit.rs+4−4
@@ -16,13 +16,13 @@ use std::{ · 15 unmodified lines
16#[allow(missing_docs)]16#[allow(missing_docs)]
17pub enum Error {17pub 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 for28// Note that git's commit-graph-format.txt as of v2.28.0 gives an incorrect value 0x0700_0000 for