diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-02-10 11:36:11 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-02-10 12:53:46 +0300 |
commit | d64683924dcf86fdc5a600054bf035b14c0dc75a (patch) | |
tree | 842662c605747219f233842a9be20f650ec9b45e | |
parent | 52985581da36c443a6d6df2a7774e4ffe84d8208 (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.go | 1 |
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", } |