git 4.4.3 → 4.4.4
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/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +7 -0
- data/lib/git/version.rb +1 -1
- data/lib/git.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e40f39a16b9eda1f1ba667d7e4bfeee34d17166ea4e1c21c00dcb6b0d067ae5
|
|
4
|
+
data.tar.gz: 47f35b1eaac12e43d49f13be2979f2f9b67b7e1878a7b6e00c272908451c088d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91bf2f03866bcdef1e32ef01f241159132cb47bdcde8828fd06ba06d76d8f2158fa8cbadf49f695f69012e13eb0964cb5c922c19f148fb0b9aa7446e4e50c4bd
|
|
7
|
+
data.tar.gz: 16f5d23eba2a990ca1a1cdc9104d98864dd4f79fb619ed19e7b67186c8f511db68f88bfc2322381148f97157ac018bebd4c98b181b582ec6b7daed858dbe75ac
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
# Change Log
|
|
7
7
|
|
|
8
|
+
## [4.4.4](https://github.com/ruby-git/ruby-git/compare/v4.4.3...v4.4.4) (2026-09-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **export:** Drop the redundant checkout that broke Git.export for tags ([59bfe62](https://github.com/ruby-git/ruby-git/commit/59bfe62ac739030319cdfb83d601dd77e958205b)), closes [#1815](https://github.com/ruby-git/ruby-git/issues/1815)
|
|
14
|
+
|
|
8
15
|
## [4.4.3](https://github.com/ruby-git/ruby-git/compare/v4.4.2...v4.4.3) (2026-08-30)
|
|
9
16
|
|
|
10
17
|
|
data/lib/git/version.rb
CHANGED
data/lib/git.rb
CHANGED
|
@@ -308,10 +308,13 @@ module Git # rubocop:disable Style/OneClassPerFile
|
|
|
308
308
|
# See +clone+ for options. Does not obey the <tt>:remote</tt> option,
|
|
309
309
|
# since the .git info will be deleted anyway; always uses the default
|
|
310
310
|
# remote, 'origin.'
|
|
311
|
+
#
|
|
312
|
+
# <tt>options[:branch]</tt> is the short name of the ref: a branch name such as
|
|
313
|
+
# 'main' or a tag name such as 'v1.0.0'. A full ref path such as
|
|
314
|
+
# 'refs/tags/v1.0.0' or a commit SHA is not accepted.
|
|
311
315
|
def self.export(repository, name, options = {})
|
|
312
316
|
options.delete(:remote)
|
|
313
317
|
repo = clone(repository, name, { depth: 1 }.merge(options))
|
|
314
|
-
repo.checkout("origin/#{options[:branch]}") if options[:branch]
|
|
315
318
|
FileUtils.rm_r File.join(repo.dir.to_s, '.git')
|
|
316
319
|
end
|
|
317
320
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: git
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.4.
|
|
4
|
+
version: 4.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Chacon and others
|
|
@@ -310,8 +310,8 @@ licenses:
|
|
|
310
310
|
metadata:
|
|
311
311
|
homepage_uri: http://github.com/ruby-git/ruby-git
|
|
312
312
|
source_code_uri: http://github.com/ruby-git/ruby-git
|
|
313
|
-
changelog_uri: https://rubydoc.info/gems/git/4.4.
|
|
314
|
-
documentation_uri: https://rubydoc.info/gems/git/4.4.
|
|
313
|
+
changelog_uri: https://rubydoc.info/gems/git/4.4.4/file/CHANGELOG.md
|
|
314
|
+
documentation_uri: https://rubydoc.info/gems/git/4.4.4
|
|
315
315
|
rubygems_mfa_required: 'true'
|
|
316
316
|
rdoc_options: []
|
|
317
317
|
require_paths:
|