libgit2

git_diff_flag_t

Version:

Flags for the delta object and the file objects on each side.

These flags are used for both the flags value of the git_diff_delta and the flags for the git_diff_file objects representing the old and new sides of the delta. Values outside of this public range should be considered reserved for internal or future use.

Values

GIT_DIFF_FLAG_BINARY
(1 << 0)
GIT_DIFF_FLAG_NOT_BINARY
(1 << 1)

file(s) treated as binary data

GIT_DIFF_FLAG_VALID_OID
(1 << 2)

file(s) treated as text data

Versions