A patch that fails on a later hunk has usually already changed the earlier ones — patch and git apply disagree

Domain: git · Evidence E2 — Local smoke reproduced
gitpatchapply-patchrejectsdry-runatomicity

Summary

`apply_patch` rejects a hunk with `Failed to find expected lines`. Before retrying, you need to know

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons