Repository navigation
Name the URL and cache env var in the no-credentials error - #76
Merged
gaborcsardi merged 2 commits intoSep 24, 2026
Merged
Conversation
The gitcreds_no_credentials condition already carries the url, but the message did not use it, so a user who needs to set the env var has no way to learn its name at the moment they need it. Falls back to the bare message when the URL cannot be parsed, so the raw gitcreds_parse_output() API still reports a missing credential rather than a parse error. Refs r-lib#56
Member
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
gitcreds_no_credentialscondition already carriesurl, but the message doesn't use it:So a user who needs to set the environment variable has no way to learn its name at the moment
they need it. That is the confusion reported in #56. Proposed message:
No behavior change and no new dependency. This is independent of the rename discussed in #56 and
worth having whichever way that goes.
Refs #56