diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/apply.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/apply.h b/include/git2/apply.h index 91f93d75d..384e11718 100644 --- a/include/git2/apply.h +++ b/include/git2/apply.h @@ -57,7 +57,7 @@ typedef int GIT_CALLBACK(git_apply_hunk_cb)( * Apply options structure * * Initialize with `GIT_APPLY_OPTIONS_INIT`. Alternatively, you can - * use `git_apply_init_options`. + * use `git_apply_options_init`. * * @see git_apply_to_tree, git_apply */ @@ -72,6 +72,8 @@ typedef struct { #define GIT_APPLY_OPTIONS_VERSION 1 #define GIT_APPLY_OPTIONS_INIT {GIT_APPLY_OPTIONS_VERSION} +GIT_EXTERN(int) git_apply_options_init(git_apply_options *opts, unsigned int version); + /** * Apply a `git_diff` to a `git_tree`, and return the resulting image * as an index. |