Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no way to make Diff Patch contain any binary deltas #1966

Open
jburggraaf opened this issue May 6, 2022 · 0 comments
Open

There is no way to make Diff Patch contain any binary deltas #1966

jburggraaf opened this issue May 6, 2022 · 0 comments

Comments

@jburggraaf
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant