diff options
author | Russell Belfer <rb@github.com> | 2014-04-30 11:16:31 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-04-30 11:16:31 -0700 |
commit | 8655a8985bcf2891390d464401b198d629edbfc3 (patch) | |
tree | 342130ee269448aa7b31c37f56df9d2b02f63abb /include/git2/cherrypick.h | |
parent | a4f9e1f0d41a9c78b304d3c1b8ef5270c30b208f (diff) | |
download | libgit2-rb/diff-update-index-stat-cache.tar.gz |
Fix remaining init_options inconsistenciesrb/diff-update-index-stat-cache
There were a couple of "init_opts()" functions a few more cases
of structure initialization that I somehow missed.
Diffstat (limited to 'include/git2/cherrypick.h')
-rw-r--r-- | include/git2/cherrypick.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/git2/cherrypick.h b/include/git2/cherrypick.h index 7c48e6659..e998d325f 100644 --- a/include/git2/cherrypick.h +++ b/include/git2/cherrypick.h @@ -37,14 +37,13 @@ typedef struct { * Initializes a `git_cherry_pick_options` with default values. Equivalent to * creating an instance with GIT_CHERRY_PICK_OPTIONS_INIT. * - * @param opts the `git_cherry_pick_options` instance to initialize. - * @param version the version of the struct; you should pass - * `GIT_CHERRY_PICK_OPTIONS_VERSION` here. + * @param opts the `git_cherry_pick_options` struct to initialize + * @param version Version of struct; pass `GIT_CHERRY_PICK_OPTIONS_VERSION` * @return Zero on success; -1 on failure. */ -GIT_EXTERN(int) git_cherry_pick_init_opts( - git_cherry_pick_options* opts, - int version); +GIT_EXTERN(int) git_cherry_pick_init_options( + git_cherry_pick_options *opts, + unsigned int version); /** * Cherry-picks the given commit against the given "our" commit, producing an |