diff options
author | Ben Straub <bs@github.com> | 2014-01-03 17:42:09 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2014-03-06 09:44:52 -0800 |
commit | aa17c3c63c3e31155015572cf208d89def9fce0c (patch) | |
tree | 96dc9dd338ccbaa7ef5201a47a97729e5f63ada9 /include | |
parent | 6affd71f33f9a9693425d6f3599ba1f25226c34b (diff) | |
download | libgit2-options-names.tar.gz |
git_revert_opts -> git_revert_optionsoptions-names
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/revert.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/git2/revert.h b/include/git2/revert.h index fcdf2a2ca..3f48c4e4b 100644 --- a/include/git2/revert.h +++ b/include/git2/revert.h @@ -28,22 +28,22 @@ typedef struct { git_merge_tree_opts merge_tree_opts; git_checkout_options checkout_opts; -} git_revert_opts; +} git_revert_options; -#define GIT_REVERT_OPTS_VERSION 1 -#define GIT_REVERT_OPTS_INIT {GIT_REVERT_OPTS_VERSION, 0, GIT_MERGE_TREE_OPTS_INIT, GIT_CHECKOUT_OPTIONS_INIT} +#define GIT_REVERT_OPTIONS_VERSION 1 +#define GIT_REVERT_OPTIONS_INIT {GIT_REVERT_OPTIONS_VERSION, 0, GIT_MERGE_TREE_OPTS_INIT, GIT_CHECKOUT_OPTIONS_INIT} /** - * Initializes a `git_revert_opts` with default values. Equivalent to - * creating an instance with GIT_REVERT_OPTS_INIT. + * Initializes a `git_revert_options` with default values. Equivalent to + * creating an instance with GIT_REVERT_OPTIONS_INIT. * - * @param opts the `git_revert_opts` instance to initialize. + * @param opts the `git_revert_options` instance to initialize. * @param version the version of the struct; you should pass - * `GIT_REVERT_OPTS_VERSION` here. + * `GIT_REVERT_OPTIONS_VERSION` here. * @return Zero on success; -1 on failure. */ GIT_EXTERN(int) git_revert_init_opts( - git_revert_opts* opts, + git_revert_options* opts, int version); /** @@ -80,7 +80,7 @@ int git_revert_commit( GIT_EXTERN(int) git_revert( git_repository *repo, git_commit *commit, - const git_revert_opts *given_opts); + const git_revert_options *given_opts); /** @} */ GIT_END_DECL |