From a907ffb488414f6f0e8dad01973c73596dca4b57 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Sun, 5 Apr 2020 09:40:14 -0700 Subject: [PATCH] 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. --- ofborg/src/checkout.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ofborg/src/checkout.rs b/ofborg/src/checkout.rs index 2b4da1f..a2e1510 100644 --- a/ofborg/src/checkout.rs +++ b/ofborg/src/checkout.rs @@ -117,6 +117,7 @@ impl CachedProjectCo { let result = Command::new("git") .arg("--no-pager") .arg("show") + .arg("--no-patch") .arg(commit) .current_dir(self.clone_to()) .status()