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/graph (1 of 51 files). Show all

Unified · Split

git-commitgraph/src/graph/verify.rs+4−4
@@ -18,8 +18,8 @@ pub enum Error<E: std::error::Error + 'static> { · 17 unmodified lines
1818 BaseGraphCount { actual: u8, expected: u8, path: PathBuf },
1919 #[error("'{}' base graph at index {index} should have ID {expected} but is {actual}", .path.display())]
2020 BaseGraphId {
21− actual: git_hash::Id,
22− expected: git_hash::Id,
21+ actual: git_hash::ObjectId,
22+ expected: git_hash::ObjectId,
2323 index: u8,
2424 path: PathBuf,
2525 },
@@ -38,13 +38,13 @@ pub enum Error<E: std::error::Error + 'static> { · 12 unmodified lines
3838 Generation {
3939 actual: u32,
4040 expected: u32,
41− id: git_hash::Id,
41+ id: git_hash::ObjectId,
4242 },
4343 #[error(
4444 "Commit {id} has parent position {parent_pos} that is out of range (should be in range 0-{max_valid_pos})"
4545 )]
4646 ParentOutOfRange {
47− id: git_hash::Id,
47+ id: git_hash::ObjectId,
4848 max_valid_pos: graph::Position,
4949 parent_pos: graph::Position,
5050 },