Showing the changes to git-pack/src/data (1 of 1 file). Show all
Unified · Split
| @@ -74,12 +74,11 @@ where · 73 unmodified lines | ||
| 74 | 74 | } |
| 75 | 75 | entry |
| 76 | 76 | .header |
| 77 | − .write_to(entry.decompressed_size as u64, &mut self.output)? as u64; | |
| 77 | + .write_to(entry.decompressed_size as u64, &mut self.output)?; | |
| 78 | 78 | std::io::copy( |
| 79 | 79 | &mut &*entry |
| 80 | 80 | .compressed |
| 81 | − .as_ref() | |
| 82 | − .map(|v| v.as_slice()) | |
| 81 | + .as_deref() | |
| 83 | 82 | .expect("caller must configure generator to keep compressed bytes"), |
| 84 | 83 | &mut self.output, |
| 85 | 84 | )?; |