Showing the changes to git-commitgraph/src/file (1 of 100 files). Show all
Unified · Split
| @@ -148,7 +148,7 @@ impl TryFrom<&Path> for File { · 147 unmodified lines | |||
| 148 | if chunk_size % entry_size != 0 { | 148 | if chunk_size % entry_size != 0 { |
| 149 | return Err(Error::InvalidChunkSize { | 149 | return Err(Error::InvalidChunkSize { |
| 150 | id: COMMIT_DATA_CHUNK_ID, | 150 | id: COMMIT_DATA_CHUNK_ID, |
| 151 | msg: format!("chunk size {} is not a multiple of {}", chunk_size, entry_size), | 151 | msg: format!("chunk size {chunk_size} is not a multiple of {entry_size}"), |
| 152 | }); | 152 | }); |
| 153 | } | 153 | } |
| 154 | Ok(( | 154 | Ok(( |
| @@ -166,7 +166,7 @@ impl TryFrom<&Path> for File { · 11 unmodified lines | |||
| 166 | if chunk_size != expected_size { | 166 | if chunk_size != expected_size { |
| 167 | return Err(Error::InvalidChunkSize { | 167 | return Err(Error::InvalidChunkSize { |
| 168 | id: OID_FAN_CHUNK_ID, | 168 | id: OID_FAN_CHUNK_ID, |
| 169 | msg: format!("expected chunk length {}, got {}", expected_size, chunk_size), | 169 | msg: format!("expected chunk length {expected_size}, got {chunk_size}"), |
| 170 | }); | 170 | }); |
| 171 | } | 171 | } |
| 172 | Ok(chunk_range.start) | 172 | Ok(chunk_range.start) |