Urgent: untrack the deps and local symlinks from #302's merge (pulling main deletes each checkout's deps/ and local/) #339
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!339
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/339/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@skalel on GitHub · 2026-12-03 17:21 UTC · original
skalel:fix/untrack-deps-local→main· +2 −4 · 3 files · 1 commits · merged 2026-12-03 17:23 UTCUrgent: pulling main deletes each checkout's
deps/andlocal/The merge of #302 (
2280f88) committed two symlinks by mistake:.gitignorehas/deps/and/local/. Those patterns match only directories, so the links could be committed.On any checkout that already has those folders, merging main (by hand or through
update.sh) replaces the real folders with the dangling links. Git may overwrite ignored files during a merge, so it does this without warning. Two things are lost:deps/: the Windows SDK, Mesa, vkd3d-proton and wineserver builds../setup.shcan rebuild them, which takes a while.local/: saves, the shader and pipeline caches (several GiB, rebuilt on the nextplay), logs andmenu.conf. Saves cannot be rebuilt.It happened here: after the merge,
build.shstopped withno sdkandlocal/was gone. On btrfs without snapshots the data could not be recovered.Fix
depsandlocal./depsand/local, so a folder and a link are both ignored.A checkout that merges main with this commit on top never sees the links, because the bad commit and its removal cancel out in the same merge. So the sooner this lands, the fewer people lose data.
For people who already pulled
Before running anything else, check
ls -la deps local. If they are links to/home/goldfish/..., the real folders are already gone:./setup.shto rebuilddeps/.local/from a backup or snapshot if you have one.It may be worth pinning a notice until this is merged.
🤖 Generated with Claude Code
@chatgpt-codex-connector[bot] on GitHub · 2026-12-03 17:21 UTC · original
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
7b38adeℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@goldfishdev on GitHub · 2026-12-03 17:23 UTC · original
fuuuuuuckkkk my bad
@goldfishdev on GitHub · 2026-12-03 17:24 UTC · original
pro tip be careful with git add -A