git-multirepo 1.0.0.beta71 → 1.0.0.beta72
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/multirepo/commands/clone-command.rb +4 -2
- data/lib/multirepo/info.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: d32ed966109fd0ac0448838cab0867a518f2379b9a14176664fef098643e231d
|
4
|
+
data.tar.gz: ba357381f325c5cea7824ec4cba5c17008c6cb17d0e04222e43115b6d2cf5afa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79ca18b6c70fa4be903a4da4bedae9e2c572ec8813263d13d91ebada5828aef47b6a1519bc575de52c3093be50c407d7d851545e4313673b1695285c85c3d883
|
7
|
+
data.tar.gz: 01a3ee80409e769e7de377d7981858ecc933c04770911e0f0fdd09dbb780e2a39721367ac4c2b01d9019131e1afb534c5a5e23e691e52f75b3bbb259b007a563
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
To install betas run `gem install git-multirepo --pre`
|
4
4
|
|
5
|
+
## 1.0.0.beta72
|
6
|
+
|
7
|
+
- **Bug Fix:** Revert changes from beta 71
|
8
|
+
- **Enhancement:** Add a `--here` flag to the `clone` command to skip creating an intermediate directory to clone into
|
9
|
+
|
5
10
|
## 1.0.0.beta71
|
6
11
|
|
7
12
|
- **Enhancement:** The `clone` command now clones all repos in the current directory instead of creating an intermediate directory (more flexible)
|
@@ -12,7 +12,8 @@ module MultiRepo
|
|
12
12
|
[
|
13
13
|
['<url>', 'The repository to clone.'],
|
14
14
|
['<name>', 'The name of the containing folder that will be created.'],
|
15
|
-
['[<refname>]', 'The branch, tag or commit id to checkout. Checkout will use "master" if unspecified.']
|
15
|
+
['[<refname>]', 'The branch, tag or commit id to checkout. Checkout will use "master" if unspecified.'],
|
16
|
+
['[--here]', 'Checkout directly in the current directory instead of creating a new directory to put repos in'],
|
16
17
|
].concat(super)
|
17
18
|
end
|
18
19
|
|
@@ -20,6 +21,7 @@ module MultiRepo
|
|
20
21
|
@url = argv.shift_argument
|
21
22
|
@name = argv.shift_argument
|
22
23
|
@ref_name = argv.shift_argument || "master"
|
24
|
+
@here = argv.flag?("here")
|
23
25
|
super
|
24
26
|
end
|
25
27
|
|
@@ -34,7 +36,7 @@ module MultiRepo
|
|
34
36
|
|
35
37
|
fail MultiRepoException, "A directory named #{@name} already exists" if Dir.exist?(@name)
|
36
38
|
|
37
|
-
main_repo_path = "#{@name}"
|
39
|
+
main_repo_path = @here ? "#{@name}" : "#{@name}/#{@name}"
|
38
40
|
main_repo = Repo.new(main_repo_path)
|
39
41
|
|
40
42
|
# Recursively create the directory where we'll clone the main repo
|
data/lib/multirepo/info.rb
CHANGED