Compatibility for libgit2 < 0.99.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tastytea 2020-07-01 11:25:43 +02:00
parent f371f1bd3d
commit 539c706459
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -31,6 +31,10 @@
# if LIBGIT2_VER_MINOR < 28
# define git_error_last giterr_last
# endif
# if LIBGIT2_VER_MINOR < 99
# define git_credential_ssh_key_new git_cred_ssh_key_new
# define git_push_options_init git_push_init_options
# endif
#endif
namespace FediBlock::git