surf: Improve diff binary detection
Iterates over the git2::Diff entries to force libgit2 to do the binary detection.
Also toggles the skip_binary_check in the DiffOptions.
All this to workaround the libgit2 lazy flag setting1
1
https://github.com/libgit2/libgit2/issues/6637
Iterates over the git2::Diff entries to force libgit2 to do the binary detection.
Also toggles the skip_binary_check in the DiffOptions.
All this to workaround the libgit2 lazy flag setting1
1
https://github.com/libgit2/libgit2/issues/6637
Changes:
- Rebase on latest main