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 +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 +9 -0
- 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: 01ae4a6ba318c6ceb9d57b9983b80cd5c29eff80cdf0e4d78f488708ca0edda6
|
|
4
|
+
data.tar.gz: 1b83fd22774a10710da2a49251456c072a9373e9132ed31386c11563da83b8c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab9bbd4f588bd753df94ecd7020f66d1ebb4f051c534aaa4aefc0fcf04b0f7842e5dcf6175dc4fa28485f8d9023643470e7b0a8bdd52e4ccca5a296a25550228
|
|
7
|
+
data.tar.gz: '0328e67227ad50a6f7fdeabcd6c3e36f5adf2d7a5946d52948218385cc19f4131cdcdd873748b6edc69b2929df11b63a6a0c177922efc51b8edd2a6c4ec97788'
|
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
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
|
+
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.
|
|
314
|
-
documentation_uri: https://rubydoc.info/gems/git/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:
|