diff options
Diffstat (limited to 'include/git2/sys')
| -rw-r--r-- | include/git2/sys/filter.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/git2/sys/filter.h b/include/git2/sys/filter.h index 8fe21c9c0..1b21a9d30 100644 --- a/include/git2/sys/filter.h +++ b/include/git2/sys/filter.h @@ -55,7 +55,10 @@ GIT_EXTERN(git_filter *) git_filter_lookup(const char *name); * your own chains of filters. */ GIT_EXTERN(int) git_filter_list_new( - git_filter_list **out, git_repository *repo, git_filter_mode_t mode); + git_filter_list **out, + git_repository *repo, + git_filter_mode_t mode, + git_filter_opt_t options); /** * Add a filter to a filter list with the given payload. @@ -115,10 +118,15 @@ GIT_EXTERN(uint16_t) git_filter_source_filemode(const git_filter_source *src); GIT_EXTERN(const git_oid *) git_filter_source_id(const git_filter_source *src); /** - * Get the git_filter_mode_t to be applied + * Get the git_filter_mode_t to be used */ GIT_EXTERN(git_filter_mode_t) git_filter_source_mode(const git_filter_source *src); +/** + * Get the git_filter_opt_t options to be applied + */ +GIT_EXTERN(git_filter_opt_t) git_filter_source_options(const git_filter_source *src); + /* * struct git_filter * |
