Add new Git configuration options in InitCommand

- Introduced additional Git configuration settings: `core.splitIndex`, `core.untrackedcache`, and `feature.manyFiles` to enhance repository initialization.
- These changes aim to improve the default setup for new repositories, optimizing performance and functionality from the start.
This commit is contained in:
Joe 2026-02-19 02:14:01 -06:00
parent 1ffed1212d
commit 9d3d02cd57

View file

@ -131,6 +131,10 @@ impl InitCommand {
("core.autocrlf", "false"), ("core.autocrlf", "false"),
("core.eol", "lf"), ("core.eol", "lf"),
("core.safecrlf", "false"), ("core.safecrlf", "false"),
("core.splitIndex", "true"),
// ("core.fsmonitor", "true"),
("core.untrackedcache", "true"),
("feature.manyFiles", "true"),
] { ] {
let _ = Command::new("git") let _ = Command::new("git")
.args(["config", "--local", key, value]) .args(["config", "--local", key, value])