feat: git command output is suppressed

Closes kemitix/git-next#27
This commit is contained in:
Paul Campbell 2024-04-11 18:13:38 +01:00
parent ec258bca97
commit f7dc27f67e

View file

@ -217,6 +217,8 @@ pub fn reset(
info!("Running command: {}", command);
match gix::command::prepare(command)
.with_shell_allow_argument_splitting()
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.spawn()
{
Ok(mut child) => match child.wait() {