mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-01 04:27:45 +00:00
This was just wrong. Added a test that verifying patch line numbers even for hunks further into a file and then fixed the algorithm. I needed to add a little extra state into the patch so that I could track old and new file numbers independently, but it should be okay. |
||
|---|---|---|
| .. | ||
| blob.c | ||
| diff_helpers.c | ||
| diff_helpers.h | ||
| diffiter.c | ||
| index.c | ||
| iterator.c | ||
| patch.c | ||
| rename.c | ||
| tree.c | ||
| workdir.c | ||