Skip to content
Snippets Groups Projects
Commit da97c292 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Fetch repositories with --quiet option by default

This will allow us to prevent deadlocks when dealing with extremely
long outputs from `git fetch`. All the pipes (stdin, stdout, and
stderr) have limited buffers, and when one fills up, everything is
going to stop.
parent 199e2d62
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -207,6 +207,7 @@ class GitlabProjects
cmd = %W(git --git-dir=#{full_path} fetch #{@name})
cmd << '--prune'
cmd << '--force' if forced
cmd << '--quiet'
cmd << tags_option
pid = Process.spawn(*cmd)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment