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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5edd3d97d763864b53bf259e67da06224fe1af8700e6229402af735395c48694
4
- data.tar.gz: 0be5c354b15762008e8b83208aaa900d8bdadc4bf2e9b953526a112caad9b1c7
3
+ metadata.gz: 0e40f39a16b9eda1f1ba667d7e4bfeee34d17166ea4e1c21c00dcb6b0d067ae5
4
+ data.tar.gz: 47f35b1eaac12e43d49f13be2979f2f9b67b7e1878a7b6e00c272908451c088d
5
5
  SHA512:
6
- metadata.gz: ba7c8e11c635383c3b502eeebe74f6bd8a38baf84c55375c623f24b90376c7a7012119770dfc32e87427970e9d613f25cb80ddeda4d315dd5058b64e37b284c4
7
- data.tar.gz: 9fed231ffd42c844f736e19c286a968005050cbf84f2c64a2d3d68fa75982728534590c0ae482d9044b814ed9a631d95f458d82a65edc37ab2f36c2ba9532399
6
+ metadata.gz: 91bf2f03866bcdef1e32ef01f241159132cb47bdcde8828fd06ba06d76d8f2158fa8cbadf49f695f69012e13eb0964cb5c922c19f148fb0b9aa7446e4e50c4bd
7
+ data.tar.gz: 16f5d23eba2a990ca1a1cdc9104d98864dd4f79fb619ed19e7b67186c8f511db68f88bfc2322381148f97157ac018bebd4c98b181b582ec6b7daed858dbe75ac
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "4.4.3"
2
+ ".": "4.4.4"
3
3
  }
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
@@ -3,5 +3,5 @@
3
3
  module Git
4
4
  # The current gem version
5
5
  # @return [String] the current gem version.
6
- VERSION = '4.4.3'
6
+ VERSION = '4.4.4'
7
7
  end
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.3
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.3/file/CHANGELOG.md
314
- documentation_uri: https://rubydoc.info/gems/git/4.4.3
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: