mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
The delete preflight listed the whole index with a buffered `git ls-files --stage -z`, which overflows the 10 MiB Git output cap in large repositories and blocks workspace deletion. Stream the listing through gitStreamStdout and keep only gitlink (mode 160000) paths, so memory scales with the number of submodules instead of the index size. Fixes #42134