Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make diffs faster and more correct #1455
By using Diff::LCS directly, we avoid unnecessary file writes. Additionally, we can assume that the diff is generated for textual files (determined by Nanoc), and avoid TTY::File’s in-this-case annoying decision to not handle seemingly-binary files.