From 21213e15312e6eb635dbac435c87be8a1a52d9ea Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 30 Sep 2020 13:23:13 -0700 Subject: [PATCH] fix(dev-infra): run git fetch in quiet mode (#39068) Runs git fetch with the -q flag during fetch while comparing the master and g3 branches. PR Close #39068 --- dev-infra/caretaker/check/g3.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-infra/caretaker/check/g3.ts b/dev-infra/caretaker/check/g3.ts index 57147905e7..dc49b16fcb 100644 --- a/dev-infra/caretaker/check/g3.ts +++ b/dev-infra/caretaker/check/g3.ts @@ -44,7 +44,8 @@ export async function printG3Comparison(git: GitClient) { /** Url of the ref for fetching master and g3 branches. */ const refUrl = `https://github.com/${git.remoteConfig.owner}/${git.remoteConfig.name}.git`; /** The result fo the fetch command. */ - const fetchResult = git.runGraceful(['fetch', refUrl, `master:${masterRef}`, `g3:${g3Ref}`]); + const fetchResult = + git.runGraceful(['fetch', '-q', refUrl, `master:${masterRef}`, `g3:${g3Ref}`]); // If the upstream repository does not have a g3 branch to compare to, skip the comparison. if (fetchResult.status !== 0) {