7 ms·
At 250k files in one branch, you are starting to run into other scalability limits in git too, like the innefficient method it uses to update .git/index (rewrit
by joeyh 12y ago
At 250k files in one branch, you are starting to run into other scalability limits in git too, like the innefficient method it uses to update .git/index (rewriting the whole thing).
- bicolao 12y agoThere is the new "split-index" mode to avoid this (see "git update-index" man page). The base index will contains 250k files but .git/index only contains entries you update, should be a lot fewer than 250k files.
- weakish 12y agoIt seems that `--split-index` is only available at 'update-index'. Can it be used with `add` or via `git config`?