We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e6a5a commit efd9ab5Copy full SHA for efd9ab5
src/transports/winhttp.c
@@ -930,7 +930,10 @@ static int winhttp_stream_read(
930
cred_error = t->owner->cred_acquire_cb(&t->cred, t->owner->url,
931
t->connection_data.user, allowed_types, t->owner->cred_acquire_payload);
932
933
- if (cred_error < 0)
+ /* Treat GIT_PASSTHROUGH as though git_cred_acquire_cb isn't set */
934
+ if (cred_error == GIT_PASSTHROUGH)
935
+ cred_error = 1;
936
+ else if (cred_error < 0)
937
return cred_error;
938
}
939
0 commit comments