Fixing a bug in diff where a deletion inside a conflict was trying to find a byte offset just past the end of a vertex (found thanks to the same-size blocks in binary diff)
Dependencies
- [2]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- replacement in libpijul/src/diff/vertex_buffer.rs at line 282
i - 1let len = self.pos_a[i-1].vertex.end - self.pos_a[i-1].vertex.start;if pos < self.pos_a[i-1].pos + len || len == 0 {i - 1} else {i}