During checkout, filters update a file from a "canonical" state to
a format appropriate for the local filesystem; during commit, filters
produce the canonical state. For example, on Windows, the line ending
filters may take a canonical state (with Unix-style newlines) in
the repository, and place the contents on-disk with Windows-style
\r\n
line endings.
List of filters to be applied
Filtering options
Current version for the git_filter_options
structure
Static constructor for git_filter_options
Filters are applied in one of two directions: smudging - which is exporting a file from the Git object database to the working directory, and cleaning - which is importing a file from the working directory to the Git object database change is being applied.
Filter option flags
Load the filter list for a given path
Load the filter list for a given path
Query the filter list to see if a given filter (by name) will run The built-in filters "crlf" and "ident" can be queried, otherwise this is the name of the filter specified by the filter attribute.
Apply filter list to a data buffer
Apply a filter list to the contents of a file on disk
Apply a filter list to the contents of a blob
Apply a filter list to an arbitrary buffer as a stream
Apply a filter list to a file as a stream
Apply a filter list to a blob as a stream
Free a git_filter_list