use shallow clone in git gem

This commit is contained in:
take_cheeze
2014-03-02 04:33:23 +09:00
parent 6de1c22d99
commit 600c17ec08
+1 -1
View File
@@ -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