diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-26 14:06:21 -0600 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-22 22:26:51 +0000 |
| commit | 20961b9871f12814790ebed80d88692fbb962d4f (patch) | |
| tree | 9e8ba388e7747fca8c2e25d73a0ceb3f1ae3383b /include/git2/submodule.h | |
| parent | 6b2cd0ed599aec32444166b7ad5b0c9fdd88b498 (diff) | |
| download | libgit2-20961b9871f12814790ebed80d88692fbb962d4f.tar.gz | |
git_error: use full class name in public error API
Move to the `git_error` name in error-related functions, deprecating the
`giterr` functions. This means, for example, that `giterr_last` is now
`git_error_last`. The old names are retained for compatibility.
This only updates the public API; internal API and function usage
remains unchanged.
Diffstat (limited to 'include/git2/submodule.h')
| -rw-r--r-- | include/git2/submodule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/submodule.h b/include/git2/submodule.h index ac6344ec6..efb3b75d6 100644 --- a/include/git2/submodule.h +++ b/include/git2/submodule.h @@ -133,7 +133,7 @@ typedef struct git_submodule_update_options { * checkout, set the `checkout_strategy` to * `GIT_CHECKOUT_NONE`. Generally you will want the use * GIT_CHECKOUT_SAFE to update files in the working - * directory. + * directory. */ git_checkout_options checkout_opts; @@ -187,7 +187,7 @@ GIT_EXTERN(int) git_submodule_update_init_options( * function works as though GIT_SUBMODULE_UPDATE_OPTIONS_INIT was passed. * @return 0 on success, any non-zero return value from a callback * function, or a negative value to indicate an error (use - * `giterr_last` for a detailed error message). + * `git_error_last` for a detailed error message). */ GIT_EXTERN(int) git_submodule_update(git_submodule *submodule, int init, git_submodule_update_options *options); |
