Repository navigation
Conversation
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
…d in next commit) Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
…ewed replacement Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
…d name, renamed in next commit) Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
…oper path) Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
…reviewed replacement Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
…fixed name, renamed in next commit) Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
…ath) Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
…placement Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
… renamed in next commit) Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Author
|
Could a maintainer review this PR and let me know if the approach is wanted? Please point out any changes or additional evidence needed before it can move forward. Thanks. |
Author
|
One more follow-up on this. Please let me know if there's a preferred next step, or if anything in the change needs rework - glad to iterate. |
Author
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.
A configured remote with no URL currently either fails lookup or returns a
NULL URL. Git uses the remote's name in both cases. Follow that behavior,
including URL rewrites and an explicit push URL, while still returning
GIT_ENOTFOUND when the remote has no configuration.
Recognize remotes with settings other than URL/pushURL in lookup and listing.
This also means creating a remote over an existing prune-only configuration
returns GIT_EEXISTS, as Git does. Update the prune test to load its configured
remote instead of recreating it.
Reject a bare URL/pushURL setting with no value instead of confusing it with
an explicit empty value. Add lookup, rewrite, list, local connection and
rename/set-url/delete coverage; document the fallback.
Fixes #7028
Validation:
rewrite, explicit pushURL and missing-remote behavior.
remote::list 2, network::fetchlocal 15).
(125 tests) clean; offline selection 3073 pass, 43 skip, 0 fail, 0 sanitizer
reports.
core::structinit, whose padding comparison fails on unchanged baseline.
Sanitizer selection additionally excludes pack::threadsafety: the unexcluded
run reports 8848 bytes / 75 allocations leaked, identically reproduced on
baseline.
Known differences from Git:
invalid-argument error where Git exits with a config error; both reject it.
git remotefails the whole config read in that case.