hiiro 0.1.214 → 0.1.216
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/hiiro/git.rb +2 -1
- data/lib/hiiro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ab3206b2266ae8bffe53769a2a530024cfed8caa8457beb52079299253c0dee
|
|
4
|
+
data.tar.gz: b7a5667d43bc28d4cc2fb634812939a92c60be985c7380586187af38ba726ad9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fc83030aafabd18dc5f9480d53d4859c69e43b4d65c6a96a5d159df7745781181388d1dbf8babe5d330dd5a0515bae73c0311466243969d196743ce3ec86ef9
|
|
7
|
+
data.tar.gz: a656f11c6961e95d06a88e5a1bb896d8ba3c28b69827d556f3a9bf312ee7665c16cf4c827a4900d16e2d5a7d4a43db070eb904412aa9e443211d682957eb666c
|
data/lib/hiiro/git.rb
CHANGED
|
@@ -146,10 +146,11 @@ class Hiiro
|
|
|
146
146
|
def sparse_checkout(path, dirs, cone: true)
|
|
147
147
|
if cone
|
|
148
148
|
run_system('-C', path, 'sparse-checkout', 'init', '--cone')
|
|
149
|
+
dirs = dirs.map { |d| d.sub(%r{\A/}, '') }
|
|
149
150
|
else
|
|
150
151
|
run_system('-C', path, 'sparse-checkout', 'init')
|
|
151
152
|
end
|
|
152
|
-
run_system('-C', path, 'sparse-checkout', 'set', *dirs)
|
|
153
|
+
run_system('-C', path, 'sparse-checkout', 'set', '--skip-checks', *dirs)
|
|
153
154
|
end
|
|
154
155
|
|
|
155
156
|
# Remote convenience methods
|
data/lib/hiiro/version.rb
CHANGED