You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# github.com/libgit2/git2go/v34
wrapper.c: In function ‘set_callback_error’:
wrapper.c:107:25: warning: implicit declaration of function ‘git_error_set_str’; did you mean ‘giterr_set_str’? [-Wimplicit-function-declaration]
107 | git_error_set_str(GIT_ERROR_CALLBACK, error_message);
| ^~~~~~~~~~~~~~~~~
| giterr_set_str
wrapper.c: In function ‘_go_git_populate_rebase_callbacks’:
wrapper.c:148:32: warning: assignment to ‘git_commit_create_cb’ {aka ‘int (*)(git_oid *, const git_signature *, const git_signature *, const char *, const char *, const git_tree *, unsigned int, git_commit * const*, void *)’} from incompatible pointer type ‘int (*)(git_oid *, const git_signature *, const git_signature *, const char *, const char *, const git_tree *, size_t, const git_commit **, void *)’ {aka ‘int (*)(git_oid *, const git_signature *, const git_signature *, const char *, const char *, const git_tree *, unsigned int, const git_commit **, void *)’} [-Wincompatible-pointer-types]
148 | opts->commit_create_cb = commit_create_callback;
| ^
# github.com/libgit2/git2go/v34
/home/builder/go/pkg/mod/github.com/nmeum/git2go/v34@v34.0.1-0.20231116120903-bda674cfdfbc/remote.go:986:27: cannot use cbool(opts.UpdateFetchhead) (value of type _Ctype_int) as _Ctype_uint value in assignment
make: *** [GNUmakefile:10: depp-index] Error 1
make: *** Waiting for unfinished jobs....
# github.com/libgit2/git2go/v34
wrapper.c: In function ‘set_callback_error’:
wrapper.c:107:25: warning: implicit declaration of function ‘git_error_set_str’; did you mean ‘giterr_set_str’? [-Wimplicit-function-declaration]
107 | git_error_set_str(GIT_ERROR_CALLBACK, error_message);
| ^~~~~~~~~~~~~~~~~
| giterr_set_str
wrapper.c: In function ‘_go_git_populate_rebase_callbacks’:
wrapper.c:148:32: warning: assignment to ‘git_commit_create_cb’ {aka ‘int (*)(git_oid *, const git_signature *, const git_signature *, const char *, const char *, const git_tree *, unsigned int, git_commit * const*, void *)’} from incompatible pointer type ‘int (*)(git_oid *, const git_signature *, const git_signature *, const char *, const char *, const git_tree *, size_t, const git_commit **, void *)’ {aka ‘int (*)(git_oid *, const git_signature *, const git_signature *, const char *, const char *, const git_tree *, unsigned int, const git_commit **, void *)’} [-Wincompatible-pointer-types]
148 | opts->commit_create_cb = commit_create_callback;
| ^
# github.com/libgit2/git2go/v34
/home/builder/go/pkg/mod/github.com/nmeum/git2go/v34@v34.0.1-0.20231116120903-bda674cfdfbc/remote.go:986:27: cannot use cbool(opts.UpdateFetchhead) (value of type _Ctype_int) as _Ctype_uint value in assignment
make: *** [GNUmakefile:8: depp] Error 1
Based on my short googling of the first trouble (git_error_set_str), it looks like this is broken from libgit2 1.8 onwards? Anyways, i'll move onto finding some other static git preview generator.
The text was updated successfully, but these errors were encountered:
Based on my short googling of the first trouble (git_error_set_str), it looks like this is broken from libgit2 1.8 onwards? Anyways, i'll move onto finding some other static git preview generator.
The text was updated successfully, but these errors were encountered: