Skip to content
Snippets Groups Projects
Commit 906017d9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'master' of gitlab.com:gitlab-org/gitlab-grit

parents 543219f5 29950792
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -600,9 +600,9 @@ module Grit
open(filename, 'w') do |file|
pipe_rd, pipe_wr = IO.pipe
git_archive_pid = spawn(*git_archive_cmd, :out => pipe_wr)
pipe_wr.close
compress_pid = spawn(*compress_cmd, :in => pipe_rd, :out => file)
pipe_rd.close
pipe_wr.close
Process.waitpid(git_archive_pid)
Process.waitpid(compress_pid)
end
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