From 5555395c15e896230a55c131fc3cbfd9d116adf8 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Wed, 13 Mar 2024 17:16:53 +0100 Subject: [PATCH] lint: Use git --no-pager to print any output in one go --- test/lint/test_runner/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lint/test_runner/src/main.rs b/test/lint/test_runner/src/main.rs index f9df5762394..e22e047e4b1 100644 --- a/test/lint/test_runner/src/main.rs +++ b/test/lint/test_runner/src/main.rs @@ -14,7 +14,9 @@ type LintFn = fn() -> LintResult; /// Return the git command fn git() -> Command { - Command::new("git") + let mut git = Command::new("git"); + git.arg("--no-pager"); + git } /// Return stdout