Skip to content

Commit 6b1c243

Browse files
committed
remove --system from git config call as it fails on MacOS
``` ❯ which git /usr/bin/git gitbutler ( missing-project) [$] via  ❯ git --version git version 2.39.3 (Apple Git-146) gitbutler ( missing-project) [$] via  ❯ git config -l --system --show-origin fatal: unable to read config file '/etc/gitconfig': No such file or directory ```
1 parent 20ef4e9 commit 6b1c243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix-path/src/env/git/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub(super) static EXE_INFO: Lazy<Option<BString>> = Lazy::new(|| {
8989
const CREATE_NO_WINDOW: u32 = 0x08000000;
9090
cmd.creation_flags(CREATE_NO_WINDOW);
9191
}
92-
cmd.args(["config", "-l", "--system", "--show-origin"])
92+
cmd.args(["config", "-l", "--show-origin"])
9393
.current_dir(env::temp_dir())
9494
.stdin(Stdio::null())
9595
.stderr(Stdio::null());

0 commit comments

Comments
 (0)