diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h index 994503c7d..930d4f7d6 100644 --- a/include/git2/deprecated.h +++ b/include/git2/deprecated.h @@ -503,7 +503,7 @@ GIT_EXTERN(int) git_diff_format_email_options_init( GIT_EXTERN(const git_error *) giterr_last(void); /** - * Clear the last error. This is an alias of `git_error_last` and is + * Clear the last error. This is an alias of `git_error_clear` and is * preserved for backward compatibility. * * This function is deprecated, but there is no plan to remove this