git-fastclone 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of git-fastclone might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/git-fastclone.rb +2 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a85f561194735fe055a64ba237dce16864164353
|
4
|
+
data.tar.gz: 65e1d6e97ccca28959f2cef272731906d2e0025d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f8df5fcfdad9d2b81106ea838ee36db56685b7e6bddd5964760711805151be514cbfa1129f4efe21f2ea2fe2edd1eec6bc681b9ea36bbff4c1ae25226ccee6e
|
7
|
+
data.tar.gz: b16efd9892062ea5ca88daac81d92b46f97689a951b31354c92f39fde6db35f0fd675df58ed9b92967089256458b415cfb8d17f295eb181ff21a6b5428145446
|
data/lib/git-fastclone.rb
CHANGED
@@ -9,11 +9,11 @@ class GitFastClone
|
|
9
9
|
@prefetch_submodules = true
|
10
10
|
|
11
11
|
# Thread-level locking for reference repos
|
12
|
-
# TODO: Add flock-based locking if we want to
|
12
|
+
# TODO: Add flock-based locking if we want to avoid conflicting with ourselves.
|
13
13
|
@reference_mutex = Hash.new { |hash, key| hash[key] = Mutex.new() }
|
14
14
|
|
15
15
|
# Only update each reference repo once per run.
|
16
|
-
# TODO: May want to update this
|
16
|
+
# TODO: May want to update this so we don't duplicate work with other copies of ourself
|
17
17
|
# Perhaps a last-updated-time and a timeout per reference repo.
|
18
18
|
@reference_updated = Hash.new { |hash, key| hash[key] = false }
|
19
19
|
end
|
@@ -30,7 +30,6 @@ class GitFastClone
|
|
30
30
|
opts.on("-b", "--branch BRANCH", "Checkout this branch rather than the default") do |branch|
|
31
31
|
@options[:branch] = branch
|
32
32
|
end
|
33
|
-
# TODO: add --verbose option that turns on and off printing of sub-commands
|
34
33
|
# TODO: Add help text.
|
35
34
|
end.parse!
|
36
35
|
|
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: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Tauraso
|
@@ -10,8 +10,8 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2014-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: A git command that uses reference repositories and
|
14
|
-
|
13
|
+
description: A git command that uses reference repositories and threading to quickly
|
14
|
+
and recursively clone repositories with many nested submodules
|
15
15
|
email: mtauraso@gmail.com
|
16
16
|
executables:
|
17
17
|
- git-fastclone
|
@@ -21,7 +21,7 @@ files:
|
|
21
21
|
- bin/git-fastclone
|
22
22
|
- lib/execution.rb
|
23
23
|
- lib/git-fastclone.rb
|
24
|
-
homepage: https://
|
24
|
+
homepage: https://github.com/mtauraso/git-fastclone
|
25
25
|
licenses:
|
26
26
|
- MIT
|
27
27
|
metadata: {}
|