gitlab_git 7.2.10 → 7.2.11
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/repository.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50788ad664893b2875689cfa12eb02c5bd730ec1
|
4
|
+
data.tar.gz: fcf06c07bd60c4e88d049ee75eb7fc7724819036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 039657190c51f2a0e2b18680c6ab70d878ad89795ea1866b161b59e4be645e337652391097b645f75e465a155d30b57ce113c012066279763494ce84fa8f2fff
|
7
|
+
data.tar.gz: 40d9f6f79c4820ea7a0a99730c463f85f4e71ae9702217df120bce263c9fc010b632302cf3747d0eff3dea19c98563597f7d21f61a43782dd8646712f546407c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.2.
|
1
|
+
7.2.11
|
@@ -277,7 +277,13 @@ module Gitlab
|
|
277
277
|
options[:limit] ||= 0
|
278
278
|
options[:offset] ||= 0
|
279
279
|
actual_ref = options[:ref] || root_ref
|
280
|
-
|
280
|
+
begin
|
281
|
+
sha = sha_from_ref(actual_ref)
|
282
|
+
rescue Rugged::OdbError, Rugged::InvalidError, Rugged::ReferenceError
|
283
|
+
# Return an empty array if the ref wasn't found
|
284
|
+
return []
|
285
|
+
end
|
286
|
+
|
281
287
|
repo = options[:repo]
|
282
288
|
|
283
289
|
cmd = %W(git --git-dir=#{path} log)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.2.
|
4
|
+
version: 7.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitriy Zaporozhets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab-linguist
|