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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-02-10 11:36:11 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-02-10 12:53:46 +0300
commitd64683924dcf86fdc5a600054bf035b14c0dc75a (patch)
tree842662c605747219f233842a9be20f650ec9b45e
parent52985581da36c443a6d6df2a7774e4ffe84d8208 (diff)
gitaly-hooks: Silence test clone
The test clone in `TestGitalyHooksPackObjects()` is being run without the "--quiet" flag and will thus write to stderr. Let's silence the command by adding the "--quiet" flag.
-rw-r--r--cmd/gitaly-hooks/hooks_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/gitaly-hooks/hooks_test.go b/cmd/gitaly-hooks/hooks_test.go
index e1a18cf83..93d338745 100644
--- a/cmd/gitaly-hooks/hooks_test.go
+++ b/cmd/gitaly-hooks/hooks_test.go
@@ -696,6 +696,7 @@ func TestGitalyHooksPackObjects(t *testing.T) {
"clone",
"-u",
"git -c uploadpack.allowFilter -c uploadpack.packObjectsHook=" + config.Config.BinDir + "/gitaly-hooks upload-pack",
+ "--quiet",
"--no-local",
"--bare",
}