feat: git command output is suppressed
All checks were successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful

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); info!("Running command: {}", command);
match gix::command::prepare(command) match gix::command::prepare(command)
.with_shell_allow_argument_splitting() .with_shell_allow_argument_splitting()
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::null())
.spawn() .spawn()
{ {
Ok(mut child) => match child.wait() { Ok(mut child) => match child.wait() {