libgit2

git_blob_filter_flag_t

Version:

Flags to control the functionality of git_blob_filter.

Values

GIT_BLOB_FILTER_CHECK_FOR_BINARY
(1 << 0)

When set, filters will not be applied to binary files.

GIT_BLOB_FILTER_NO_SYSTEM_ATTRIBUTES
(1 << 1)

When set, filters will not load configuration from the system-wide gitattributes in /etc (or system equivalent).

GIT_BLOB_FILTER_ATTRIBUTES_FROM_HEAD
(1 << 2)

When set, filters will be loaded from a .gitattributes file in the HEAD commit.

GIT_BLOB_FILTER_ATTRIBUTES_FROM_COMMIT
(1 << 3)

When set, filters will be loaded from a .gitattributes file in the specified commit.

Versions