gitlab_git 7.1.4 → 7.1.5
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/diff.rb +0 -2
- 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: 3d243f4cc284075d2e14730606d4d72d6cb1e882
|
4
|
+
data.tar.gz: 7739c85c0827b6a23f58edff9b5b6c629f16f7dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10f0aaa46b7e9efee6f780a37b326635574c16c25a6173b5552fd8114042488efab00de4e0985c002fc138a4d12f3a5032005629798ed5715dcd3efed9bc5609
|
7
|
+
data.tar.gz: f4ece38403a4c4d5a634e346ffa10bfc6ee0d06226d738a5dc82bf836ba96ba1cbed3e17fb2d6fa6cab288349afe07c5badc9cd14bb82518aa4eca6c24521a46
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.1.
|
1
|
+
7.1.5
|
data/lib/gitlab_git/diff.rb
CHANGED
@@ -216,8 +216,6 @@ module Gitlab
|
|
216
216
|
# Delete everything up to the first line that starts with '---' or
|
217
217
|
# 'Binary'
|
218
218
|
diff_text.sub!(/\A.*?^(---|Binary)/m, '\1')
|
219
|
-
# Remove trailing newline because the tests ask for it
|
220
|
-
diff_text.chomp!
|
221
219
|
|
222
220
|
if diff_text.start_with?('---') or diff_text.start_with?('Binary')
|
223
221
|
diff_text
|