git-multi 2.9.0 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -4
- data/exe/git-multi +1 -0
- data/lib/git/multi/commands.rb +5 -0
- data/lib/git/multi/version.rb +1 -1
- data/man/git-multi.1 +8 -3
- data/man/git-multi.erb +3 -0
- data/man/git-multi.html +10 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fc2687636b78e9708c38dad0df0a52d2092c8bc
|
4
|
+
data.tar.gz: 29c4e37ec330dc160dd2184f9d6dd44fe2ad05de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d75a2940be0774f75677a961f9ac79a5b609d82fc8328b9eb403dcfb6b4a41369f71190828702bd9e7f27f813ca7f13385e129df17edadb6d0481b689e0bb41
|
7
|
+
data.tar.gz: 84ab770026e9def376820fa0d45ec6db72f156df65a7bb05fb884d8f61c773167c7bd61f964602be0ac52d467c9ad575f764359178a9a91da8e1ca911fa534cd
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
git-multi (2.
|
4
|
+
git-multi (2.10.0)
|
5
5
|
faraday (~> 0.15.0)
|
6
6
|
octokit (~> 4)
|
7
7
|
|
@@ -19,7 +19,8 @@ GEM
|
|
19
19
|
method_source (0.9.2)
|
20
20
|
minitest (5.12.2)
|
21
21
|
multipart-post (2.1.1)
|
22
|
-
octokit (4.
|
22
|
+
octokit (4.15.0)
|
23
|
+
faraday (>= 0.9)
|
23
24
|
sawyer (~> 0.8.0, >= 0.5.3)
|
24
25
|
parallel (1.17.0)
|
25
26
|
parser (2.6.4.1)
|
@@ -30,7 +31,7 @@ GEM
|
|
30
31
|
pry-rescue (1.5.0)
|
31
32
|
interception (>= 0.5)
|
32
33
|
pry (>= 0.12.0)
|
33
|
-
public_suffix (4.0.
|
34
|
+
public_suffix (4.0.3)
|
34
35
|
rainbow (3.0.0)
|
35
36
|
rake (13.0.0)
|
36
37
|
rubocop (0.74.0)
|
@@ -59,4 +60,4 @@ DEPENDENCIES
|
|
59
60
|
rubocop
|
60
61
|
|
61
62
|
BUNDLED WITH
|
62
|
-
2.
|
63
|
+
2.1.4
|
data/exe/git-multi
CHANGED
@@ -39,6 +39,7 @@ when /\A--/
|
|
39
39
|
when '--find' then Git::Multi::Commands.find(ARGV, multi_repo)
|
40
40
|
when '--eval' then Git::Multi::Commands.eval(ARGV, multi_repo)
|
41
41
|
when '--raw' then Git::Multi::Commands.raw(ARGV, multi_repo)
|
42
|
+
when '--shell' then Git::Multi::Commands.shell(ARGV, multi_repo)
|
42
43
|
else
|
43
44
|
abort \
|
44
45
|
"Unknown 'git multi' command: #{command}\n\n" \
|
data/lib/git/multi/commands.rb
CHANGED
@@ -159,6 +159,11 @@ module Git
|
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|
162
|
+
def shell(args, multi_repo)
|
163
|
+
args.unshift [ENV.fetch('SHELL', '/bin/sh'), '-l']
|
164
|
+
system(args.flatten, multi_repo)
|
165
|
+
end
|
166
|
+
|
162
167
|
def raw(args, multi_repo = nil)
|
163
168
|
args.unshift ['sh', '-c']
|
164
169
|
system(args.flatten, multi_repo)
|
data/lib/git/multi/version.rb
CHANGED
data/man/git-multi.1
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
.\" Title: git-multi
|
3
3
|
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
|
4
4
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
5
|
-
.\" Date: 01/
|
5
|
+
.\" Date: 01/09/2020
|
6
6
|
.\" Manual: Git Manual
|
7
7
|
.\" Source: Git 2.23.0.606.g08da6496b6.dirty
|
8
8
|
.\" Language: English
|
9
9
|
.\"
|
10
|
-
.TH "GIT\-MULTI" "1" "01/
|
10
|
+
.TH "GIT\-MULTI" "1" "01/09/2020" "Git 2\&.23\&.0\&.606\&.g08da64" "Git Manual"
|
11
11
|
.\" -----------------------------------------------------------------
|
12
12
|
.\" * Define some portability stuff
|
13
13
|
.\" -----------------------------------------------------------------
|
@@ -31,7 +31,7 @@
|
|
31
31
|
git-multi \- execute the same git command in multiple repositories
|
32
32
|
.SH "VERSION"
|
33
33
|
.sp
|
34
|
-
This is \fBv2\&.
|
34
|
+
This is \fBv2\&.10\&.0\fR of \fIgit multi\fR \&... hooray!
|
35
35
|
.SH "SYNOPSIS"
|
36
36
|
.sp
|
37
37
|
There are some options for \fBgit multi\fR itself, in which case it is invoked as follows:
|
@@ -176,6 +176,11 @@ execute the given Ruby code in the context of each repo
|
|
176
176
|
.RS 4
|
177
177
|
execute the given shell command inside each git repository
|
178
178
|
.RE
|
179
|
+
.PP
|
180
|
+
\-\-shell
|
181
|
+
.RS 4
|
182
|
+
run an interactive login shell inside each git directory
|
183
|
+
.RE
|
179
184
|
.SH "EXAMPLES"
|
180
185
|
.sp
|
181
186
|
count the number of repos
|
data/man/git-multi.erb
CHANGED
data/man/git-multi.html
CHANGED
@@ -748,7 +748,7 @@ git-multi(1) Manual Page
|
|
748
748
|
<div class="sect1">
|
749
749
|
<h2 id="_version">VERSION</h2>
|
750
750
|
<div class="sectionbody">
|
751
|
-
<div class="paragraph"><p>This is <code>v2.
|
751
|
+
<div class="paragraph"><p>This is <code>v2.10.0</code> of <em>git multi</em> … hooray!</p></div>
|
752
752
|
</div>
|
753
753
|
</div>
|
754
754
|
<div class="sect1">
|
@@ -966,6 +966,14 @@ and cached locally <em>(in binary format)</em> for performance and offline usage
|
|
966
966
|
execute the given shell command inside each git repository
|
967
967
|
</p>
|
968
968
|
</dd>
|
969
|
+
<dt class="hdlist1">
|
970
|
+
--shell
|
971
|
+
</dt>
|
972
|
+
<dd>
|
973
|
+
<p>
|
974
|
+
run an interactive login shell inside each git directory
|
975
|
+
</p>
|
976
|
+
</dd>
|
969
977
|
</dl></div>
|
970
978
|
</div>
|
971
979
|
</div>
|
@@ -1214,7 +1222,7 @@ the <code>jq</code> command-line utility:
|
|
1214
1222
|
<div id="footer">
|
1215
1223
|
<div id="footer-text">
|
1216
1224
|
Last updated
|
1217
|
-
2020-01-
|
1225
|
+
2020-01-09 17:51:49 GMT
|
1218
1226
|
</div>
|
1219
1227
|
</div>
|
1220
1228
|
</body>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-multi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Vandenberk
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|