diff options
author | Toon Claes <toon@gitlab.com> | 2021-01-14 17:28:35 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2021-01-14 17:28:35 +0300 |
commit | e9743661a588b99e51cf7f806eaaf137573e5c02 (patch) | |
tree | 7d68a8154760fbc54891806ccb4bd214118b3a02 | |
parent | 3083074640633df94cbeee611795a6fc6d8c5607 (diff) | |
parent | 85154e0ae523e030994388199fc548ee31953e29 (diff) |
Merge branch 'pks-fetch-source-branch-quiet' into 'master'
repository: Silence progress meter of FetchSourceBranch
See merge request gitlab-org/gitaly!2991
-rw-r--r-- | changelogs/unreleased/pks-fetch-source-branch-quiet.yml | 5 | ||||
-rw-r--r-- | internal/gitaly/service/repository/fetch.go | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/changelogs/unreleased/pks-fetch-source-branch-quiet.yml b/changelogs/unreleased/pks-fetch-source-branch-quiet.yml new file mode 100644 index 000000000..f3db079a4 --- /dev/null +++ b/changelogs/unreleased/pks-fetch-source-branch-quiet.yml @@ -0,0 +1,5 @@ +--- +title: 'repository: Silence progress meter of FetchSourceBranch' +merge_request: 2991 +author: +type: fixed diff --git a/internal/gitaly/service/repository/fetch.go b/internal/gitaly/service/repository/fetch.go index 363aa1974..417e1f2f8 100644 --- a/internal/gitaly/service/repository/fetch.go +++ b/internal/gitaly/service/repository/fetch.go @@ -85,7 +85,7 @@ func (s *server) FetchSourceBranch(ctx context.Context, req *gitalypb.FetchSourc git.SubCmd{ Name: "fetch", Args: []string{gitalyssh.GitalyInternalURL, sourceOid}, - Flags: []git.Option{git.Flag{Name: "--no-tags"}}, + Flags: []git.Option{git.Flag{Name: "--no-tags"}, git.Flag{Name: "--quiet"}}, }, git.WithEnv(env...), git.WithRefTxHook(ctx, req.Repository, s.cfg), |