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
uv Git checkout marker follows a repository-controlled symlink #21857
uv follows a repository-controlled .ok symlink when marking a Git checkout
ready. A Git dependency can track .ok as a symlink to an existing writable
file outside the checkout. During a successful uv pip install, uv follows
that symlink and truncates the target. Native Git clone plus git reset --hard
leaves the target unchanged.
There is no error: the installation succeeds. Reproduce with:
unzip attachments.zip
cd attachments
UV_BIN=uv ./reproduce.sh uv-git-ok-repro
The Git source controls .ok as a symlink to a pre-existing victim file. The
native-Git control does not alter the victim, while uv's checkout marker write
does. The detailed source analysis, impact, exact revisions, and reproduction
materials are in report.md and attachments.zip.
Activity
Add regression test for uv#21857 (#21909)
Store Git checkout markers outside working trees (#21891)