diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-06 13:10:30 +0000 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-15 09:08:15 +0000 |
| commit | 8ee1009874d11a61ccd4b89322432c3633b4cc1f (patch) | |
| tree | 6dfb01fd91ab9cc180dbbbca5d0a543196b1c88c /include/git2/sys/commit.h | |
| parent | 9189a66a9eb99f13ee81da5913ade3a1ff64262a (diff) | |
| download | libgit2-8ee1009874d11a61ccd4b89322432c3633b4cc1f.tar.gz | |
transport: see if cert/cred callbacks exist before calling them
Custom transports may want to ask libgit2 to invoke a configured
credential or certificate callback; however they likely do not know if a
callback was actually configured. Return a sentinal value
(GIT_PASSTHROUGH) if there is no callback configured instead of crashing.
Diffstat (limited to 'include/git2/sys/commit.h')
0 files changed, 0 insertions, 0 deletions
