You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Always detach managed Git checkouts at the locked commit #42
bugSomething isn't workingdependenciesIssues related to dependency resolution, Git and path sources, and lockfiles.stabilityIssues that improve reliability, recovery, and deterministic behavior.
A fresh clone can remain attached to its default branch because checkout_commit returns immediately when HEAD already equals the desired commit. Managed dependency directories are intended to represent lockfile commits, not editable tracking branches.
This behavior is related to, but separate from, dirty-tree validation in #19.
Expected behavior
Every managed Git dependency should be in detached-HEAD state at the exact locked commit before Vex reads its manifest or sources.
Acceptance criteria
Verify both the commit and detached state.
Detach a clean checkout even when its current commit already matches.
Refuse to detach when local changes would be affected.
Apply the invariant after clone, fetch, update, offline reuse, and lock restoration.
Add integration coverage for a fresh clone whose default branch already points at the selected commit.
bugSomething isn't workingdependenciesIssues related to dependency resolution, Git and path sources, and lockfiles.stabilityIssues that improve reliability, recovery, and deterministic behavior.
Activity