diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-06-17 10:33:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-06-17 10:33:32 -0700 |
commit | 7f5a382aa5eb54509a4de4d399d8b35c48d91c65 (patch) | |
tree | 40eecafad1d0db5fad8be110b8c1d1b671f2b21d /remote.c | |
parent | d0d96b8280faf7c22c115374732f50972689c0d2 (diff) | |
parent | 7281c196b1166f1c00df33948c67b0ef81ba63a9 (diff) | |
download | git-7f5a382aa5eb54509a4de4d399d8b35c48d91c65.tar.gz |
Merge branch 'ab/credentials-in-url-more'
Rename fetch.credentialsInUrl to transfer.credentialsInUrl as the
single configuration variable should work both in pushing and
fetching.
* ab/credentials-in-url-more:
transfer doc: move fetch.credentialsInUrl to "transfer" config namespace
fetch doc: note "pushurl" caveat about "credentialsInUrl", elaborate
Diffstat (limited to 'remote.c')
-rw-r--r-- | remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -623,7 +623,7 @@ static void validate_remote_url(struct remote *remote) struct strbuf redacted = STRBUF_INIT; int warn_not_die; - if (git_config_get_string_tmp("fetch.credentialsinurl", &value)) + if (git_config_get_string_tmp("transfer.credentialsinurl", &value)) return; if (!strcmp("warn", value)) @@ -633,7 +633,7 @@ static void validate_remote_url(struct remote *remote) else if (!strcmp("allow", value)) return; else - die(_("unrecognized value fetch.credentialsInURL: '%s'"), value); + die(_("unrecognized value transfer.credentialsInURL: '%s'"), value); for (i = 0; i < remote->url_nr; i++) { struct url_info url_info = { 0 }; |