git 4.4.4 → 4.4.5

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: 0e40f39a16b9eda1f1ba667d7e4bfeee34d17166ea4e1c21c00dcb6b0d067ae5
4
- data.tar.gz: 47f35b1eaac12e43d49f13be2979f2f9b67b7e1878a7b6e00c272908451c088d
3
+ metadata.gz: 01ae4a6ba318c6ceb9d57b9983b80cd5c29eff80cdf0e4d78f488708ca0edda6
4
+ data.tar.gz: 1b83fd22774a10710da2a49251456c072a9373e9132ed31386c11563da83b8c9
5
5
  SHA512:
6
- metadata.gz: 91bf2f03866bcdef1e32ef01f241159132cb47bdcde8828fd06ba06d76d8f2158fa8cbadf49f695f69012e13eb0964cb5c922c19f148fb0b9aa7446e4e50c4bd
7
- data.tar.gz: 16f5d23eba2a990ca1a1cdc9104d98864dd4f79fb619ed19e7b67186c8f511db68f88bfc2322381148f97157ac018bebd4c98b181b582ec6b7daed858dbe75ac
6
+ metadata.gz: ab9bbd4f588bd753df94ecd7020f66d1ebb4f051c534aaa4aefc0fcf04b0f7842e5dcf6175dc4fa28485f8d9023643470e7b0a8bdd52e4ccca5a296a25550228
7
+ data.tar.gz: '0328e67227ad50a6f7fdeabcd6c3e36f5adf2d7a5946d52948218385cc19f4131cdcdd873748b6edc69b2929df11b63a6a0c177922efc51b8edd2a6c4ec97788'
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "4.4.4"
2
+ ".": "4.4.5"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@
5
5
 
6
6
  # Change Log
7
7
 
8
+ ## [4.4.5](https://github.com/ruby-git/ruby-git/compare/v4.4.4...v4.4.5) (2026-09-10)
9
+
10
+
11
+ ### Other Changes
12
+
13
+ * **export:** Describe what a failed .git removal leaves behind ([8a596f0](https://github.com/ruby-git/ruby-git/commit/8a596f00e032170ad6a48af2337dad71b7418069)), closes [#1823](https://github.com/ruby-git/ruby-git/issues/1823)
14
+
8
15
  ## [4.4.4](https://github.com/ruby-git/ruby-git/compare/v4.4.3...v4.4.4) (2026-09-10)
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.4'
6
+ VERSION = '4.4.5'
7
7
  end
data/lib/git.rb CHANGED
@@ -312,6 +312,15 @@ module Git # rubocop:disable Style/OneClassPerFile
312
312
  # <tt>options[:branch]</tt> is the short name of the ref: a branch name such as
313
313
  # 'main' or a tag name such as 'v1.0.0'. A full ref path such as
314
314
  # 'refs/tags/v1.0.0' or a commit SHA is not accepted.
315
+ #
316
+ # Removing +.git+ is not atomic. If it fails, the exported files are complete and
317
+ # usable, but the directory keeps whatever part of +.git+ could not be deleted.
318
+ # Nothing is cleaned up, because the exported files are the deliverable and the
319
+ # leftover has to be removed by hand once the cause of the failure is fixed.
320
+ #
321
+ # @raise [SystemCallError] if the +.git+ directory cannot be removed. The exported
322
+ # files are left in place, and the directory keeps whatever part of +.git+ could
323
+ # not be deleted.
315
324
  def self.export(repository, name, options = {})
316
325
  options.delete(:remote)
317
326
  repo = clone(repository, name, { depth: 1 }.merge(options))
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
4
+ version: 4.4.5
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.4/file/CHANGELOG.md
314
- documentation_uri: https://rubydoc.info/gems/git/4.4.4
313
+ changelog_uri: https://rubydoc.info/gems/git/4.4.5/file/CHANGELOG.md
314
+ documentation_uri: https://rubydoc.info/gems/git/4.4.5
315
315
  rubygems_mfa_required: 'true'
316
316
  rdoc_options: []
317
317
  require_paths: