From bfb5815f5e0f555970961ad13d2775d594d2e6fa Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 6 Mar 2026 17:01:01 -0600 Subject: [PATCH] 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. --- TODO.txt | 2 -- src/git.rs | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/TODO.txt b/TODO.txt index 62175f99..032a41be 100644 --- a/TODO.txt +++ b/TODO.txt @@ -99,6 +99,4 @@ this should utilize the mcp to run the game and fetch the errors, make sure the modify /atlas-push to always trigger /playtest-quick after it finishes pushing, looping back around to fix issues if needed. make sure the errors are related to what we actually pushed, so it doesnt try to fix others work. if it's others work, ask the user if they want to fix it - thought recommend they should do a planning phase. "/atlas-push no test" or similar it just skips the automated test -git config --system core.longpaths true - make clone support multi-placeids like we did with defend-67 \ No newline at end of file diff --git a/src/git.rs b/src/git.rs index 296f7167..2e7cf4b9 100644 --- a/src/git.rs +++ b/src/git.rs @@ -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(()) }