Closed Leonidas-from-XIV closed 2 years ago
Could you add a test-case to ensure we don't introduce future regressions there? I'm not sure I understand this logic either.
@samoht I've added a test. It's a bit ugly since it messes with the global OPAM state (by creating a pin called opam-monorepo-test-other
but the original report can only be reproduced with pins.
When using a pinned dependency the refs might not have a prefix (e.g.
HEAD
is a plain ref) thus they wouldn't have been found when attempting to resolve the refs.Closes #326