kpdecker / jsdiff

A javascript text differencing implementation.
BSD 3-Clause "New" or "Revised" License
7.92k stars 496 forks source link

Rewrite applyPatch #533

Closed ExplodingCabbage closed 1 month ago

ExplodingCabbage commented 1 month ago

Resolves https://github.com/kpdecker/jsdiff/issues/468, and makes the logic for fuzzy matching of hunks more intuitive and more likely to do reasonable things when applying patches to slightly modified files.