forked from the-distro/ofborg
checkout: silence diffs when checking validity of a commit
Otherwise, when people submit treewide PRs to nixpkgs, the logs get cluttered with thousands of useless diffs.
This commit is contained in:
parent
91f6aee4d5
commit
a907ffb488
|
@ -117,6 +117,7 @@ impl CachedProjectCo {
|
||||||
let result = Command::new("git")
|
let result = Command::new("git")
|
||||||
.arg("--no-pager")
|
.arg("--no-pager")
|
||||||
.arg("show")
|
.arg("show")
|
||||||
|
.arg("--no-patch")
|
||||||
.arg(commit)
|
.arg(commit)
|
||||||
.current_dir(self.clone_to())
|
.current_dir(self.clone_to())
|
||||||
.status()
|
.status()
|
||||||
|
|
Loading…
Reference in a new issue