mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
lint: Use git --no-pager to print any output in one go
This commit is contained in:
@@ -14,7 +14,9 @@ type LintFn = fn() -> LintResult;
|
|||||||
|
|
||||||
/// Return the git command
|
/// Return the git command
|
||||||
fn git() -> Command {
|
fn git() -> Command {
|
||||||
Command::new("git")
|
let mut git = Command::new("git");
|
||||||
|
git.arg("--no-pager");
|
||||||
|
git
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return stdout
|
/// Return stdout
|
||||||
|
|||||||
Reference in New Issue
Block a user