Filter option flags.
| 712 | |
| 713 | |
| 714 | class FilterFlag(IntFlag): |
| 715 | """Filter option flags.""" |
| 716 | |
| 717 | DEFAULT = _pygit2.GIT_FILTER_DEFAULT |
| 718 | |
| 719 | ALLOW_UNSAFE = _pygit2.GIT_FILTER_ALLOW_UNSAFE |
| 720 | "Don't error for `safecrlf` violations, allow them to continue." |
| 721 | |
| 722 | NO_SYSTEM_ATTRIBUTES = _pygit2.GIT_FILTER_NO_SYSTEM_ATTRIBUTES |
| 723 | "Don't load `/etc/gitattributes` (or the system equivalent)" |
| 724 | |
| 725 | ATTRIBUTES_FROM_HEAD = _pygit2.GIT_FILTER_ATTRIBUTES_FROM_HEAD |
| 726 | 'Load attributes from `.gitattributes` in the root of HEAD' |
| 727 | |
| 728 | ATTRIBUTES_FROM_COMMIT = _pygit2.GIT_FILTER_ATTRIBUTES_FROM_COMMIT |
| 729 | 'Load attributes from `.gitattributes` in a given commit. This can only be specified in a `git_filter_options`.' |
| 730 | |
| 731 | |
| 732 | class FilterMode(IntEnum): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…