mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-15 04:11:02 +01:00
lint: Use git --no-pager to print any output in one go
This commit is contained in:
parent
fa5729436c
commit
5555395c15
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue