mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +08:00
Print the git url to the logs
It's useful for debugging users's issues.
This commit is contained in:
@ -351,7 +351,7 @@ int credentials_cb(git_cred **out, const char *url, const char *username_from_ur
|
|||||||
}
|
}
|
||||||
|
|
||||||
gj_log_internal("UsernameProvided: %s\n", username_from_url);
|
gj_log_internal("UsernameProvided: %s\n", username_from_url);
|
||||||
gj_log_internal("Allowed Types: %d\n", allowed_types);
|
gj_log_internal("Url: %s\n", url);
|
||||||
|
|
||||||
if (!(allowed_types & GIT_CREDTYPE_SSH_KEY))
|
if (!(allowed_types & GIT_CREDTYPE_SSH_KEY))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user