Showing the changes to git-pack/src/data/input (1 of 100 files). Show all
Unified · Split
| @@ -90,11 +90,11 @@ where · 89 unmodified lines | ||
| 90 | 90 | } else { |
| 91 | 91 | header_bytes.len() as u64 |
| 92 | 92 | }; |
| 93 | − self.output.seek(std::io::SeekFrom::Start(0))?; | |
| 93 | + self.output.rewind()?; | |
| 94 | 94 | self.output.write_all(&header_bytes[..])?; |
| 95 | 95 | self.output.flush()?; |
| 96 | 96 | |
| 97 | − self.output.seek(std::io::SeekFrom::Start(0))?; | |
| 97 | + self.output.rewind()?; | |
| 98 | 98 | let interrupt_never = std::sync::atomic::AtomicBool::new(false); |
| 99 | 99 | let digest = hash::bytes( |
| 100 | 100 | &mut self.output, |