summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-03-02 04:33:23 +0900
committertake_cheeze <[email protected]>2014-03-02 04:33:23 +0900
commit600c17ec081e53cf490d5f6895a6e16186946751 (patch)
tree189f7cb08a443f080af4fe7190eb77f37c2314bf
parent6de1c22d9954ba4282aac6e4efa4b491626d4565 (diff)
downloadmruby-600c17ec081e53cf490d5f6895a6e16186946751.tar.gz
mruby-600c17ec081e53cf490d5f6895a6e16186946751.zip
use shallow clone in git gem
-rw-r--r--tasks/mruby_build_commands.rake2
1 files changed, 1 insertions, 1 deletions
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