Closes issue #147 (metalgear feedback). The snapshot re-encoded a subrepo's pin from disk with the disk's bookmark name, so heads equal to the pin's on another bookmark read as modified and oxy bookmark switch refused. New Pin::same_state (same repository and heads in any order, or the same Git commit); the snapshot keeps the recorded pin when the state matches, and the switch check and subrepo sync use it. Test a_subrepo_at_its_pinned_state_on_another_bookmark_is_unmodified, which fails without the fix. Hub side: oxygenhub#332. Gate passes.
A subrepo at its pinned state is unmodified on any bookmark (#147) proposal #150 landed andymccall wants subrepo-pin-state into main · 4 changes · opened
issue #147 A subrepo at its pinned state counts as modified when it sits on another bookmark closed → proposal #150 landed → main landed
andymccall opened this proposal
andymccall opened
andymccall set labels: bug
andymccall set it to land when its checks pass
andymccall landed: when its checks passed (set by andymccall), with no approval
Proposal landed
andymccall landed 4 changes into main .