libgit2

git_diff_binary_t

Version:

When producing a binary diff, the binary data returned will be either the deflated full ("literal") contents of the file, or the deflated binary delta between the two sides (whichever is smaller).

Values

GIT_DIFF_BINARY_NONE
0

There is no binary delta.

GIT_DIFF_BINARY_LITERAL
1

The binary data is the literal contents of the file.

GIT_DIFF_BINARY_DELTA
2

The binary data is the delta from one side to the other.

Versions