Reproduction steps
use Diff.Compare to create a patch that contains BinaryComparisons
save this patch to a file patch.file
call git apply with the created patch.file
Expected behavior
there should be a user settable CompareOption that gives access to the GIT_DIFF_SHOW_BINARY flag in Core.GitDiff.GitDiffOptionFlags so that a patch can be created with binary deltas so that binaries are created/updated in the repo after calling git apply patch.file
Actual behavior
there is no option to set this flag so binaries are not created and or not updated by the patch file
Version of LibGit2Sharp (release number or SHA1)
0.27.0-preview-0175
Operating system(s) tested; .NET runtime tested
windows 10
macOS
ubuntu 20.04
Reproduction steps
use Diff.Compare to create a patch that contains BinaryComparisons
save this patch to a file
patch.filecall git apply with the created
patch.fileExpected behavior
there should be a user settable CompareOption that gives access to the
GIT_DIFF_SHOW_BINARYflag inCore.GitDiff.GitDiffOptionFlagsso that a patch can be created with binary deltas so that binaries are created/updated in the repo after callinggit apply patch.fileActual behavior
there is no option to set this flag so binaries are not created and or not updated by the patch file
Version of LibGit2Sharp (release number or SHA1)
0.27.0-preview-0175
Operating system(s) tested; .NET runtime tested
windows 10
macOS
ubuntu 20.04