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 | entry | 75 | entry |
| 76 | .header | 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 | std::io::copy( | 78 | std::io::copy( |
| 79 | &mut &*entry | 79 | &mut &*entry |
| 80 | .compressed | 80 | .compressed |
| 81 | .as_ref() | 81 | .as_deref() |
| 82 | .map(|v| v.as_slice()) | ||
| 83 | .expect("caller must configure generator to keep compressed bytes"), | 82 | .expect("caller must configure generator to keep compressed bytes"), |
| 84 | &mut self.output, | 83 | &mut self.output, |
| 85 | )?; | 84 | )?; |