diff options
| author | Takashi Kokubun <[email protected]> | 2021-02-16 20:56:13 -0800 |
|---|---|---|
| committer | Takashi Kokubun <[email protected]> | 2021-02-16 20:56:13 -0800 |
| commit | 6ac79a2c44f54ca7734b1a2acdfd5b05dcc2fd2a (patch) | |
| tree | 75f19f68de37983696eea63dc6d7d2fa5a3b32ee | |
| parent | 88113df0981142be989e868689bf549cb95f0e6c (diff) | |
| download | mruby-6ac79a2c44f54ca7734b1a2acdfd5b05dcc2fd2a.tar.gz mruby-6ac79a2c44f54ca7734b1a2acdfd5b05dcc2fd2a.zip | |
Skip --depth=1 when it's locked
| -rw-r--r-- | lib/mruby/build/load_gems.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mruby/build/load_gems.rb b/lib/mruby/build/load_gems.rb index 28811e8ec..6609a5c8e 100644 --- a/lib/mruby/build/load_gems.rb +++ b/lib/mruby/build/load_gems.rb @@ -100,7 +100,7 @@ module MRuby options = [params[:options]] || [] options << "--recursive" options << "--branch \"#{branch}\"" - options << "--depth 1" unless params[:checksum_hash] + options << "--depth 1" unless params[:checksum_hash] || lock mkdir_p "#{gem_clone_dir}" git.run_clone gemdir, url, options |
