git: handle exit code 2 for git remote url retrieval#6422
Merged
kit-ty-kate merged 4 commits intoocaml:masterfrom Oct 16, 2025
Merged
git: handle exit code 2 for git remote url retrieval#6422kit-ty-kate merged 4 commits intoocaml:masterfrom
git remote url retrieval#6422kit-ty-kate merged 4 commits intoocaml:masterfrom
Conversation
git remote url retrievalgit remote url retrieval
1 task
rjbou
commented
Mar 14, 2025
kit-ty-kate
reviewed
Aug 25, 2025
tests/reftests/git.test
Outdated
Comment on lines
+107
to
+108
| [ERROR] Can't retrieve remote informations for dep-nip.dev | ||
| [WARNING] Dependency dep-nip.dev is pinned to local target git+file://${BASEDIR}/dep-nip#master |
Member
There was a problem hiding this comment.
Shouldn't this require --keep-local to be used?
I also find the error message confusing. It sounds like an unexpected error occurred like a lack of internet access or something, but it's simply that the repository doesn't have a main remote (origin).
eb8ba02 to
920e644
Compare
kit-ty-kate
approved these changes
Oct 16, 2025
Fixes opam lock when it tries to retrieve external remote for pinned dependencies.
920e644 to
676c6c6
Compare
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.
And update some messages : remote branch not found & skipping local pins
TODO: