git 1.10.2 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of git might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/MAINTAINERS.md +0 -1
- data/lib/git/lib.rb +7 -4
- data/lib/git/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 564087b850fc095e75b62f5fd231d27e7dc145b7839c795d8c84355cb0df0c67
|
4
|
+
data.tar.gz: 0d377c66918e25e2a52f1155db445657452be662553756c3e08cb5d66db29d2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e6bc7af5d099a33e79afabc655d62faa5e7ce7bcface1843f35a50fbafe2d02a26065b56d5cf2ec26fd7602363a232543ae8a5584952004d8253771a2753fdc
|
7
|
+
data.tar.gz: 732a2e8bbb690279caccc65dcedce95cb378d3554886574fbd71985b09dd77f74d3c82e5f0a71d5af19bddf943dd41b6b5a86be2e847205a26ff1db0ecaa2f1a
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,17 @@
|
|
5
5
|
|
6
6
|
# Change Log
|
7
7
|
|
8
|
+
## v1.11.0
|
9
|
+
|
10
|
+
* 292087e Supress unneeded test output (#570)
|
11
|
+
* 19dfe5e Add support for fetch options "--force/-f" and "--prune-tags/-P". (#563)
|
12
|
+
* 018d919 Fix bug when grepping lines that contain numbers surrounded by colons (#566)
|
13
|
+
* c04d16e remove from maintainer (#567)
|
14
|
+
* 291ca09 Address command line injection in Git::Lib#fetch
|
15
|
+
* 521b8e7 Release v1.10.2 (#561)
|
16
|
+
|
17
|
+
See https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0
|
18
|
+
|
8
19
|
## v1.10.2
|
9
20
|
|
10
21
|
See https://github.com/ruby-git/ruby-git/releases/tag/v1.10.2
|
data/MAINTAINERS.md
CHANGED
data/lib/git/lib.rb
CHANGED
@@ -419,7 +419,7 @@ module Git
|
|
419
419
|
|
420
420
|
hsh = {}
|
421
421
|
command_lines('grep', grep_opts).each do |line|
|
422
|
-
if m = /(
|
422
|
+
if m = /(.*?)\:(\d+)\:(.*)/.match(line)
|
423
423
|
hsh[m[1]] ||= []
|
424
424
|
hsh[m[1]] << [m[2].to_i, m[3]]
|
425
425
|
end
|
@@ -875,14 +875,17 @@ module Git
|
|
875
875
|
command('tag', arr_opts)
|
876
876
|
end
|
877
877
|
|
878
|
-
|
879
878
|
def fetch(remote, opts)
|
880
|
-
arr_opts = [
|
881
|
-
arr_opts << opts[:ref] if opts[:ref]
|
879
|
+
arr_opts = []
|
882
880
|
arr_opts << '--tags' if opts[:t] || opts[:tags]
|
883
881
|
arr_opts << '--prune' if opts[:p] || opts[:prune]
|
882
|
+
arr_opts << '--prune-tags' if opts[:P] || opts[:'prune-tags']
|
883
|
+
arr_opts << '--force' if opts[:f] || opts[:force]
|
884
884
|
arr_opts << '--unshallow' if opts[:unshallow]
|
885
885
|
arr_opts << '--depth' << opts[:depth] if opts[:depth]
|
886
|
+
arr_opts << '--'
|
887
|
+
arr_opts << remote
|
888
|
+
arr_opts << opts[:ref] if opts[:ref]
|
886
889
|
|
887
890
|
command('fetch', arr_opts)
|
888
891
|
end
|
data/lib/git/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Chacon and others
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rchardet
|