From 600c17ec081e53cf490d5f6895a6e16186946751 Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Sun, 2 Mar 2014 04:33:23 +0900 Subject: use shallow clone in git gem --- tasks/mruby_build_commands.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tasks') diff --git a/tasks/mruby_build_commands.rake b/tasks/mruby_build_commands.rake index 10cc215dc..24a77206a 100644 --- a/tasks/mruby_build_commands.rake +++ b/tasks/mruby_build_commands.rake @@ -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 -- cgit v1.2.3