Ephemeral repos created by open_repo don't include objects from turnip-subordinate

Bug #1465502 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
turnip
Fix Released
High
William Grant

Bug Description

When turnip.api.store.open_repo constructs an ephemeral repo using alternates, it expects that the alternates' alternates will be respected. But Git and libgit2 don't respect relative alternates except in the root repo (with no clear rationale), so repos with a turnip-subordinate alternate will be missing objects.

It's easiest to work around this by making open_repo explicitly include each repo's turnip-subordinate.

Related branches

William Grant (wgrant)
Changed in turnip:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
William Grant (wgrant)
Changed in turnip:
status: In Progress → Fix Committed
William Grant (wgrant)
Changed in turnip:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.