diff options
| author | lhchavez <[email protected]> | 2020-02-13 02:50:31 +0000 |
|---|---|---|
| committer | lhchavez <[email protected]> | 2020-02-13 02:50:31 +0000 |
| commit | 150a8c60169ee69f4a869acbc10dbe097274605a (patch) | |
| tree | ccadf6203e85d60bfa8d6221dd94ff470f9a66f3 /wrapper.c | |
| parent | b201c503ab5788b2ce5511fa75792127e27e254c (diff) | |
| parent | 75c5e41422f224a6fde40903c4af4cf1afbd2d46 (diff) | |
Merge remote-tracking branch 'origin/master' into actions
Diffstat (limited to 'wrapper.c')
| -rw-r--r-- | wrapper.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,7 @@ #include <git2.h> #include <git2/sys/odb_backend.h> #include <git2/sys/refdb_backend.h> +#include <git2/sys/cred.h> typedef int (*gogit_submodule_cbk)(git_submodule *sm, const char *name, void *payload); @@ -180,4 +181,8 @@ void _go_git_writestream_free(git_writestream *stream) stream->free(stream); } +git_credtype_t _go_git_cred_credtype(git_cred *cred) { + return cred->credtype; +} + /* EOF */ |
