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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 596879dbac47393252692dd7f067f5ffa1b26b05
4
- data.tar.gz: 45f9bb9d6a93ce488409c9f09eb372e1d8335666
3
+ metadata.gz: 8fc2687636b78e9708c38dad0df0a52d2092c8bc
4
+ data.tar.gz: 29c4e37ec330dc160dd2184f9d6dd44fe2ad05de
5
5
  SHA512:
6
- metadata.gz: 59f386674124243df56b693f21941c2d407e52805cd9bd1bd536342369954feb8f5c98cd129b7d37f6fc4f6c4a492722d00496346288152be25e348ce7820156
7
- data.tar.gz: c1ec14839f81aed56ae9fdfc840386a7b368edc2cf7b6c1a47665b216612d01e3aefe19cad18026c0560cb3409547e4a8647ee1cbe91d5082a03e9906ef9637b
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.9.0)
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.14.0)
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.1)
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.0.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" \
@@ -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)
@@ -1,7 +1,7 @@
1
1
  module Git
2
2
  module Multi
3
3
  NAME = 'git-multi'.freeze
4
- VERSION = '2.9.0'.freeze
4
+ VERSION = '2.10.0'.freeze
5
5
 
6
6
  def self.version
7
7
  "#{NAME} v#{VERSION}"
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/06/2020
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/06/2020" "Git 2\&.23\&.0\&.606\&.g08da64" "Git Manual"
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\&.9\&.0\fR of \fIgit multi\fR \&... hooray!
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
@@ -119,6 +119,9 @@ OPTIONS
119
119
  --raw <cmd>::
120
120
  execute the given shell command inside each git repository
121
121
 
122
+ --shell::
123
+ run an interactive login shell inside each git directory
124
+
122
125
  EXAMPLES
123
126
  --------
124
127
 
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.9.0</code> of <em>git multi</em> &#8230; hooray!</p></div>
751
+ <div class="paragraph"><p>This is <code>v2.10.0</code> of <em>git multi</em> &#8230; 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-06 20:55:00 GMT
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.9.0
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-06 00:00:00.000000000 Z
11
+ date: 2020-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday