git-fastclone 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/git-fastclone.rb +2 -4
- data/lib/git-fastclone/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35a60467a2db1806daa4d2db5bec4ed9a445bd62
|
4
|
+
data.tar.gz: a3706926d6dd821cbba24bc856652b667107cd3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
221
|
-
|
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)
|