git_diff_flag_t

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

ValueMeaning
GIT_DIFF_FLAG_BINARY1u << 0

file(s) treated as binary data

GIT_DIFF_FLAG_NOT_BINARY1u << 1

file(s) treated as text data

GIT_DIFF_FLAG_VALID_ID1u << 2

id value is known correct

GIT_DIFF_FLAG_EXISTS1u << 3

file exists at this side of the delta

Meta