For efficiency, you should probably add `GIT_DIFF_SKIP_BINARY_CHECK` here as well, otherwise when you call `git_diff_get_patch()` below, the diff code may actually load the files into memory so that it can set the `binary` flag correctly on the diff delta.

Alternatively, since this is internal to libgit2, you could just peek directly into the internal vector of `git_diff_delta` data inside the `git_diff_list` and not use `git_diff_get_patch()` for access.