Showing the changes to git-commitgraph (2 of 100 files). Show all
Unified · Split
| @@ -148,7 +148,7 @@ impl TryFrom<&Path> for File { · 147 unmodified lines | ||
| 148 | 148 | if chunk_size % entry_size != 0 { |
| 149 | 149 | return Err(Error::InvalidChunkSize { |
| 150 | 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 | 154 | Ok(( |
| @@ -166,7 +166,7 @@ impl TryFrom<&Path> for File { · 11 unmodified lines | ||
| 166 | 166 | if chunk_size != expected_size { |
| 167 | 167 | return Err(Error::InvalidChunkSize { |
| 168 | 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 | 172 | Ok(chunk_range.start) |
| @@ -62,7 +62,7 @@ impl Graph { · 61 unmodified lines | ||
| 62 | 62 | err: e, |
| 63 | 63 | path: chain_file_path.clone(), |
| 64 | 64 | })?; |
| 65 | − let graph_file_path = commit_graphs_dir.join(format!("graph-{}.graph", hash)); | |
| 65 | + let graph_file_path = commit_graphs_dir.join(format!("graph-{hash}.graph")); | |
| 66 | 66 | files.push(File::at(&graph_file_path).map_err(|e| Error::File { |
| 67 | 67 | err: e, |
| 68 | 68 | path: graph_file_path.clone(), |