Showing the changes to git-commitgraph/src (1 of 9 files). Show all
Unified · Split
| @@ -279,9 +279,9 @@ impl TryFrom<&Path> for File { · 278 unmodified lines | |||
| 279 | ))); | 279 | ))); |
| 280 | } | 280 | } |
| 281 | 281 | ||
| 282 | let fan_offset = fan_offset.ok_or_else(|| Error::MissingChunk(OID_FAN_CHUNK_ID))?; | 282 | let fan_offset = fan_offset.ok_or(Error::MissingChunk(OID_FAN_CHUNK_ID))?; |
| 283 | let oid_lookup_offset = oid_lookup_offset.ok_or_else(|| Error::MissingChunk(OID_LOOKUP_CHUNK_ID))?; | 283 | let oid_lookup_offset = oid_lookup_offset.ok_or(Error::MissingChunk(OID_LOOKUP_CHUNK_ID))?; |
| 284 | let commit_data_offset = commit_data_offset.ok_or_else(|| Error::MissingChunk(COMMIT_DATA_CHUNK_ID))?; | 284 | let commit_data_offset = commit_data_offset.ok_or(Error::MissingChunk(COMMIT_DATA_CHUNK_ID))?; |
| 285 | if base_graph_count > 0 && base_graphs_list_offset == None { | 285 | if base_graph_count > 0 && base_graphs_list_offset == None { |
| 286 | return Err(Error::MissingChunk(BASE_GRAPHS_LIST_CHUNK_ID)); | 286 | return Err(Error::MissingChunk(BASE_GRAPHS_LIST_CHUNK_ID)); |
| 287 | } | 287 | } |