On Windows, packed-refs updates can fail with “PermissionDenied” (Access is denied) after memory‑mapped reads
On Windows, packed-refs updates can fail with “PermissionDenied” (Access is denied) after memory‑mapped reads: a task in LegoFlow-SWE (Harbor dataset). In Git repositories that contain enough references to make .git/packed-refs larger than the default memory‑map threshold (normally 32 KiB), the…
The task
In Git repositories that contain enough references to make `.git/packed-refs` larger than the default memory‑map threshold (normally 32 KiB), the file is opened using a memory map. Operations that rewrite packed-refs (e.g., deleting a reference that is stored there) attempt to write a new `packed-refs.lock` and then…
Part of Lego-X/LegoFlow-SWE.