mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-30 03:34:30 +00:00
Git commands can fail when staging or unstaging a very large number of files because each file path is passed as a separate CLI argument. Once the argument list grows beyond the OS limit, git errors with Argument list too long (os error 7). Since git 2.26, pathspecs can be read from stdin, which lets us avoid passing thousands of paths as arguments and bypass this limitation. I looked for existing issues related to this but couldn’t find any. Repro: - Clone rust-lang repo - Delete root tests folder - Try to stage or unstage (40,000+ files) - Git fails with Argument list too long (os error 7) Release Notes: - Fixed an issue where stage/unstage could fail when operating on a very large number of files |
||
|---|---|---|
| .. | ||
| src | ||
| test_data | ||
| Cargo.toml | ||
| LICENSE-GPL | ||