github Romelium/mpatch v1.3.2

latest releases: v1.6.4, v1.6.3, v1.6.2...
6 months ago

Fixed

  • Fuzzy Matching: Fixed a critical bug where applying a patch via fuzzy matching would overwrite local changes in the context lines (e.g., updated comments, different indentation). The application logic now performs a granular merge to preserve the target file's content while applying the patch's specific changes.
  • Context Restoration: Improved the heuristic for handling missing context lines. Missing lines at the end of a file are now restored (fixing truncated files), while missing lines in the middle of a block are treated as stale and skipped.

🆚 For more detail compare changes since 1.3.1.

Don't miss a new mpatch release

NewReleases is sending notifications on new releases.