gollum-rugged_adapter 0.99.3 → 0.99.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rugged_adapter/git_layer_rugged.rb +2 -2
- data/lib/rugged_adapter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e26a1062990e5dae1e42c6f0b55b964b5bc39246fc45ba091556cf3638e35fa6
|
4
|
+
data.tar.gz: 6b7163ae78eb0fd4db16a185994116532da4887bd3d8c5da023f6f27e5d1406c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 184dcbda389bd30dd6548f1d66927c6805cea668b50bf545eff349ea474823f0b6408703005c1748a885049bf0e1d3c49686711913817dbd1044b6fcec931929
|
7
|
+
data.tar.gz: fa41ab8888be111f340362fb7c4bc09d3cfb8f270cc84f967570d0557fc6e1f2a605ebe9801d019c6ac6a93d4e39bc2c167d2909497b45ef13d5c80354120100
|
@@ -346,7 +346,7 @@ module Gollum
|
|
346
346
|
skipped = 0
|
347
347
|
current_path = options[:path].dup if options[:path]
|
348
348
|
current_path = nil if current_path == ''
|
349
|
-
renamed_path = current_path.dup
|
349
|
+
renamed_path = current_path.nil? ? nil : current_path.dup
|
350
350
|
track_pathnames = true if current_path && options[:follow]
|
351
351
|
limit = options[:limit].to_i
|
352
352
|
offset = options[:offset].to_i
|
@@ -365,7 +365,7 @@ module Gollum
|
|
365
365
|
skipped += 1
|
366
366
|
|
367
367
|
commits.push(Gollum::Git::Commit.new(c, track_pathnames ? renamed_path : nil)) if skipped > offset
|
368
|
-
renamed_path = current_path.dup
|
368
|
+
renamed_path = current_path.nil? ? nil : current_path.dup
|
369
369
|
end
|
370
370
|
end
|
371
371
|
walker.reset
|