Commit 600c17ec authored by take_cheeze's avatar take_cheeze

use shallow clone in git gem

parent 6de1c22d
......@@ -233,7 +233,7 @@ module MRuby
def initialize(build)
super
@command = 'git'
@flags = []
@flags = %w[--depth 1]
@clone_options = "clone %{flags} %{url} %{dir}"
@pull_options = "pull"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment