lint: Use git --no-pager to print any output in one go

This commit is contained in:
MarcoFalke
2024-03-13 17:16:53 +01:00
parent fa5729436c
commit 5555395c15

View File

@@ -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