Commit 62855a1
fix: handle Windows read-only git pack files on devcontainer clone
shutil.rmtree fails on Windows when removing .git/objects/pack/*.idx
files because they're marked read-only. Add onerror handler to chmod
before unlink.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cb957e2 commit 62855a1
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
512 | 516 | | |
513 | 517 | | |
514 | 518 | | |
| |||
0 commit comments