New fetch refspecs mode very verbose
Since the 11.9.0 release with the new fetch refspecs modes (!1203 (merged)) it is now very verbose (noisy) when cloning the repository. For repos with large number of branches and/or tags, it becomes hard to see the important stuff, when you have to scroll through 1000+ lines of useless information. If we can find some way to hide this noisy information, that would make build logs more useful again.
(I understand why the clone/fetch method change, we just need to find a way to make it quiet so the logs can be useful again)
Steps to reproduce
Run a build on 11.8 vs 11.9 and look at the amount of output to fetch/clone the repository, in particular when you have lots of tags/branches.
Initialized empty Git repository in /builds/group/repo/.git/ Fetching changes... Created fresh repository. From https://repourl/ * [new branch] develop -> origin/develop * [new branch] master -> origin/master * [new branch] release/2019.07 -> origin/release/2019.07 ... SNIP 1012 lines .... * [new tag] 2019.05 -> 2019.05 * [new tag] 2019.05.01 -> 2019.05.01 * [new tag] 2019.05.02 -> 2019.05.02 * [new tag] 2019.06 -> 2019.06 Checking out c8ef4414 as feature/reduceJsKnownWarnings... Skipping Git submodules setup
Clone with 11.8 runner
Cloning repository... Cloning into '/builds/group/repo'... Checking out ec204bfe as hotfix/2019.05.02 Skipping Git submodules setup
Omnibus install of 11.9 with Docker runners Docker version 18.09.4
concurrent = 4 check_interval = 0 [session_server] session_timeout = 1800 [[runners]] name = "suq-ci-runner-5" request_concurrency = 4 url = "https://version-control.url/" token = "" executor = "docker" [runners.docker] tls_verify = false image = "docker:latest" privileged = true disable_entrypoint_overwrite = false oom_kill_disable = false disable_cache = false volumes = ["/cache", "/var/run/docker.sock:/var/run/docker.sock"] wait_for_services_timeout = 120 shm_size = 0 [runners.cache] [runners.cache.s3] [runners.cache.gcs]
Used GitLab Runner version
$ gitlab-runner --version Version: 11.9.2 Git revision: fa86510e Git branch: GO version: go1.8.7 Built: 2019-04-09T20:00:28+0000 OS/Arch: linux/amd64