From c2bbdb0085211c3b6f5189af51e850e095965d18 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Sun, 19 Apr 2026 17:52:58 +0200 Subject: [PATCH] test: stabilize git default branch in helpers --- src-tauri/src/git/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/git/mod.rs b/src-tauri/src/git/mod.rs index 81dfe303..815ee6db 100644 --- a/src-tauri/src/git/mod.rs +++ b/src-tauri/src/git/mod.rs @@ -168,7 +168,7 @@ mod tests { let path = dir.path(); Command::new("git") - .args(["init"]) + .args(["init", "--initial-branch=main"]) .current_dir(path) .output() .unwrap();