Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2021-01-14 17:28:35 +0300
committerToon Claes <toon@gitlab.com>2021-01-14 17:28:35 +0300
commite9743661a588b99e51cf7f806eaaf137573e5c02 (patch)
tree7d68a8154760fbc54891806ccb4bd214118b3a02
parent3083074640633df94cbeee611795a6fc6d8c5607 (diff)
parent85154e0ae523e030994388199fc548ee31953e29 (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.yml5
-rw-r--r--internal/gitaly/service/repository/fetch.go2
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),