- Notifications
You must be signed in to change notification settings - Fork2.5k
alternates: allow relative paths in all repositories#7019
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Git does not limit relative paths in alternates to the firstrepository, so libgit2 shouldn't either.
The code has behaved this way since it was originally merged in85e7efa1630855c5c8bd9893f732494bda51b591 in PR#719. I can't see an explanation as to why the code decided to only load relative links for the current repo in either place. Maybe git itself used to behave this way, but current versions definitely do not. FWIW we hit this in CrOS with details inhttps://issuetracker.google.com/214563046, although it's not terribly interesting tbh. |
Indeed; I'm not sure either, but it looks like your analysis is correct. Thanks! |
3eadce3
intolibgit2:mainUh oh!
There was an error while loading.Please reload this page.
Git does not limit relative paths in alternates to the first repository, so libgit2 shouldn't either.