From 0e3200a8fc8366c03a7dffd55e9183d633c46d95 Mon Sep 17 00:00:00 2001 From: Martin Marmsoler Date: Sat, 3 Jan 2026 17:02:51 +0100 Subject: [PATCH] fix wrong comment --- include/git2/deprecated.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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