Update TODO and enhance git configuration

- Removed outdated git configuration command from TODO.txt for clarity.
- Added a command to set the `core.longpaths` configuration in the `git_init_repo` function, improving support for long file paths in the repository initialization process.

These changes aim to streamline the TODO list and enhance the git initialization workflow.
This commit is contained in:
Joe 2026-03-06 17:01:01 -06:00
parent c60ee2f7b5
commit bfb5815f5e
2 changed files with 4 additions and 2 deletions

View file

@ -404,6 +404,10 @@ pub fn git_init_repo(dir: &Path) -> anyhow::Result<()> {
.args(["config", "--local", "core.safecrlf", "false"])
.current_dir(dir)
.output();
let _ = Command::new("git")
.args(["config", "--system", "core.longpaths", "true"])
.current_dir(dir)
.output();
Ok(())
}