git-fastclone 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99f2ed04cdf72fcb80a6f5b3025ecaa34bc0d00f
4
- data.tar.gz: e4519db820594d0983ed806e9dcd868874d7b3f5
3
+ metadata.gz: 35a60467a2db1806daa4d2db5bec4ed9a445bd62
4
+ data.tar.gz: a3706926d6dd821cbba24bc856652b667107cd3d
5
5
  SHA512:
6
- metadata.gz: ee2a68e3c0007d4d3a86f43a6f0df0d403faa98acf5fdf48315f7ef64a1c313ef08a462fa78a39f42ccd00125a8c9d7bb14a6b18b5ef7831394d2bf4eaae1358
7
- data.tar.gz: 2a6fcf00b85f18b8fc40ab88c7aa94709414dc3601d34f68eb289e662fcdff5323e5508cefabbc63342b188ecbcce5e6145400496263ebec2ee439332acdbaae
6
+ metadata.gz: 440e140c08bdba2f91709f5e9df51a7dcb6cded6e825c1181bbe31036b7cfa783ee025a5aac1e9f32b3c8f76222427dc79856c6532e505491774f7bc73e0a471
7
+ data.tar.gz: e1e2821cf52385adf366856cf63180d15c571749d4c6bc5c20e0dddaa4c9d5ae27d5d80c59b8b3ac97edab508a7b34f04a10048d5577e3bad38d02fe1b95cee1
data/lib/git-fastclone.rb CHANGED
@@ -217,10 +217,8 @@ module GitFastClone
217
217
  def thread_update_submodule(submodule_url, submodule_path, threads, pwd)
218
218
  threads << Thread.new do
219
219
  with_git_mirror(submodule_url) do |mirror|
220
- Dir.chdir("#{File.join(abs_clone_path, pwd)}") do
221
- Cocaine::CommandLine.new('git submodule', 'update --quiet --reference :mirror :path')
222
- .run(mirror: "#{mirror}", path: "#{submodule_path}")
223
- end
220
+ Cocaine::CommandLine.new('cd', ':dir; git submodule update --quiet --reference :mirror :path')
221
+ .run(dir: "#{File.join(abs_clone_path, pwd)}", mirror: "#{mirror}", path: "#{submodule_path}")
224
222
  end
225
223
 
226
224
  update_submodules(File.join(pwd, submodule_path), submodule_url)
@@ -1,3 +1,3 @@
1
1
  module GitFastCloneVersion
2
- VERSION = '1.0.13'
2
+ VERSION = '1.0.14'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-fastclone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Tauraso