setup rejects unchanged Mesa checkout after patch snapshot format change #112
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#112
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@oguska on GitHub · 2026-12-01 21:15 UTC · original
Problem
Running
./setup.shcan stop with:This can happen even when the Mesa worktree still matches the snapshot saved by setup.
Cause
Older
.git/um-patchsnapshots contain abbreviated Git object IDs in diffindexlines. The currentpatchedhelper generates full object IDs. When the patch stamp changes, setup compares these diffs byte-for-byte and treats the formatting difference as a local modification. Regenerating the patch is not appropriate when the repository patch itself has changed: it may overwrite the newer patch with the older checkout contents.Expected behavior
Accept an unchanged checkout against either legacy abbreviated or current full-index snapshots, while still refusing to discard real local changes.