gitlab_git 7.2.0 → 7.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/gitlab_git/blob.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fae0b1341f604f59f18a7fb8a8d256e123fb5409
|
4
|
+
data.tar.gz: 78734448bfa9189d3b3aaee517cec75fee280002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3856125002df53a5224b06e08cbb4cc2588c5f9b36376a55cfc06b5a5943540f02141485744d5ce2cec3578150e1f337ad716ba6b213737fe8389f297f4d913
|
7
|
+
data.tar.gz: d0c404bc3c75008d6850ad16607589080296ca43db9d6418394cf988ebcb8eba1fcc27958e2ca5efe4e586774e73a339d4bec1b6f7aa893a2fe01b09c9384e9c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.2.
|
1
|
+
7.2.1
|
data/lib/gitlab_git/blob.rb
CHANGED
@@ -115,7 +115,7 @@ module Gitlab
|
|
115
115
|
|
116
116
|
oid = repo.write(file[:content], :blob)
|
117
117
|
index = repo.index
|
118
|
-
index.read_tree(repo.head.target.tree)
|
118
|
+
index.read_tree(repo.head.target.tree) unless repo.empty?
|
119
119
|
index.add(path: file[:path], oid: oid, mode: 0100644)
|
120
120
|
|
121
121
|
opts = {}
|