Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies declared with non-master git branches fail with "no reference found" #1016

Closed
mitchmindtree opened this issue Mar 24, 2022 · 1 comment Β· Fixed by #1045
Closed
Assignees
Labels
bug Something isn't working forc

Comments

@mitchmindtree
Copy link
Contributor

I'm attempting to test #978 and noticed I seem unable to fetch any reference other than master πŸ˜΅β€πŸ’«.

We must be missing a fetch operation for the particular branch, or perhaps an argument to the clone operation, or something along these lines.

I'll address this as a part of #978.

@mitchmindtree mitchmindtree added bug Something isn't working forc labels Mar 24, 2022
@mitchmindtree
Copy link
Contributor Author

Currently we clone the temp repository, but I think the better approach might be to simply do an init and then immediately fetch with only the required refspecs. It looks like this is the approach cargo is taking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forc
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant