libgit2

git_filter_flag_t

Version:

Filter option flags.

Values

GIT_FILTER_DEFAULT
0
GIT_FILTER_ALLOW_UNSAFE
1

Don't error for safecrlf violations, allow them to continue.

GIT_FILTER_NO_SYSTEM_ATTRIBUTES
2

Don't load /etc/gitattributes (or the system equivalent)

GIT_FILTER_ATTRIBUTES_FROM_HEAD
3

Load attributes from .gitattributes in the root of HEAD

GIT_FILTER_ATTRIBUTES_FROM_COMMIT
4

Load attributes from .gitattributes in a given commit. This can only be specified in a git_filter_options.

Versions