patch: show expected line number for hunk when rejecting it

This commit is contained in:
Ori Bernstein 2024-10-12 14:50:42 +00:00
parent 5285caa05d
commit 84170d89b7

View file

@ -598,7 +598,7 @@ search(Fbuf *f, Hunk *h, char *fname)
return p;
}
}
sysfatal("%s:%d: unable to find hunk offset in %s", fname, h->lnum, h->oldpath);
sysfatal("%s:%d: unable to find hunk offset near %s:%d", fname, h->lnum, h->oldpath, h->oldln);
}
char*