diff options
Diffstat (limited to 'include/git2/filter.h')
-rw-r--r-- | include/git2/filter.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/git2/filter.h b/include/git2/filter.h index 044c3b870..0465e5b14 100644 --- a/include/git2/filter.h +++ b/include/git2/filter.h @@ -66,11 +66,17 @@ typedef struct { /** See `git_filter_flag_t` above */ uint32_t flags; +#ifdef GIT_DEPRECATE_HARD + void *reserved; +#else + git_oid *commit_id; +#endif + /** * The commit to load attributes from, when * `GIT_FILTER_ATTRIBUTES_FROM_COMMIT` is specified. */ - git_oid *commit_id; + git_oid attr_commit_id; } git_filter_options; #define GIT_FILTER_OPTIONS_VERSION 1 |