summaryrefslogtreecommitdiff
path: root/wrapper.c
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-16 17:50:57 -0600
committerJeff Carr <[email protected]>2024-12-16 17:50:57 -0600
commit530f3618a8f4c7d9c8d3981548112439b22e09e7 (patch)
tree30b529a83767648dd31c8bfa6fff6b6163174909 /wrapper.c
parente65b1c188ccb9b4aa4863ec702c3985c382f53db (diff)
update to libgit2 version 1.8.4. dump old github and vendor stuff
go install go.wit.com/apps/go-clone@latest go install go.wit.com/apps/go-mod-clean@latest go-clone --recusive go.wit.com/lib/git2go Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'wrapper.c')
-rw-r--r--wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrapper.c b/wrapper.c
index e999136..738cadf 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -104,7 +104,7 @@ static int set_callback_error(char *error_message, int ret)
{
if (error_message != NULL) {
if (ret < 0)
- git_error_set_str(GIT_ERROR_CALLBACK, error_message);
+ giterr_set_str(GIT_ERROR_CALLBACK, error_message);
free(error_message);
}
return ret;