smart.c
13.2 KB
-
transport: see if cert/cred callbacks exist before calling them · 8ee10098
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.
Edward Thomson committed