Skip to content

Commit 21213e1

Browse files
committed
fix(dev-infra): run git fetch in quiet mode (angular#39068)
Runs git fetch with the -q flag during fetch while comparing the master and g3 branches. PR Close angular#39068
1 parent fb12c61 commit 21213e1

File tree

1 file changed

+2
-1
lines changed
  • dev-infra/caretaker/check

1 file changed

+2
-1
lines changed

dev-infra/caretaker/check/g3.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ export async function printG3Comparison(git: GitClient) {
4444
/** Url of the ref for fetching master and g3 branches. */
4545
const refUrl = `https://github.com/${git.remoteConfig.owner}/${git.remoteConfig.name}.git`;
4646
/** The result fo the fetch command. */
47-
const fetchResult = git.runGraceful(['fetch', refUrl, `master:${masterRef}`, `g3:${g3Ref}`]);
47+
const fetchResult =
48+
git.runGraceful(['fetch', '-q', refUrl, `master:${masterRef}`, `g3:${g3Ref}`]);
4849

4950
// If the upstream repository does not have a g3 branch to compare to, skip the comparison.
5051
if (fetchResult.status !== 0) {

0 commit comments

Comments
 (0)