git_filter_mode_t

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. These values control which direction of change is being applied.

Values

ValueMeaning
GIT_FILTER_TO_WORKTREE0
GIT_FILTER_SMUDGEGIT_FILTER_TO_WORKTREE
GIT_FILTER_TO_ODB1
GIT_FILTER_CLEANGIT_FILTER_TO_ODB

Meta