Skip to content

Commit 8062487

Browse files
committed
[GR-70736] Add --quiet flag to git fetch unless --verbose is enabled
PullRequest: mx/1976
2 parents b7a1cf5 + bc73111 commit 8062487

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Jsonnet files should not include this file directly but use ci/common.jsonnet instead."
55
],
66

7-
"mx_version": "7.62.2",
7+
"mx_version": "7.64.0",
88

99
"COMMENT.jdks": "When adding or removing JDKs keep in sync with JDKs in ci/common.jsonnet",
1010
"jdks": {

src/mx/_impl/mx.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10219,6 +10219,10 @@ def clone(self, url, dest=None, rev='master', abortOnError=True, **extra_args):
1021910219
def _fetch(self, vcdir, repository=None, refspec=None, abortOnError=True, prune=False, lock=False, include_tags=True):
1022010220
try:
1022110221
cmd = ['git', 'fetch']
10222+
if not _opts.verbose:
10223+
# Suppress fetch progress output which can be very
10224+
# noisy if there are a lot of branches on the remote
10225+
cmd.append('--quiet')
1022210226
if prune:
1022310227
cmd.append('--prune')
1022410228
if not include_tags:

src/mx/mx_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# The version must be updated for every PR (checked in CI) and the comment should reflect the PR's issue
2-
version = "7.64.0" # GR-70028 Make BenchmarkSuite fork aware and add datapoints post-processing to StdOutBenchmarkSuite
2+
version = "7.64.1" # GR-70736 Suppress git fetch output when in non-verbose mode

0 commit comments

Comments
 (0)