mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Skip --depth=1 when it's locked
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user