mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
use shallow clone in git gem
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user