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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1290b38048656f160076eb75a8a63da82bae5f1
4
- data.tar.gz: 1c25bce20c683335d52a6ea10b6e53c3098c69fe
3
+ metadata.gz: 50788ad664893b2875689cfa12eb02c5bd730ec1
4
+ data.tar.gz: fcf06c07bd60c4e88d049ee75eb7fc7724819036
5
5
  SHA512:
6
- metadata.gz: eed11049f16e49ed1ffdf8aab4bbfe2798fc7dccb4b1a5838eb587c74c7d3ee59c15549a7d52a566856f200b1fba7ca0bcf1809068e3d2a6a676ff9cb174de30
7
- data.tar.gz: c34ff60bb71241ebbc42426ec81663826d91ff9969b06d9ad65ce985e8c0fac51c48ff618e4e4862de45dfd50741f0feb762b5bb89010d8f4dc042bf5f90a504
6
+ metadata.gz: 039657190c51f2a0e2b18680c6ab70d878ad89795ea1866b161b59e4be645e337652391097b645f75e465a155d30b57ce113c012066279763494ce84fa8f2fff
7
+ data.tar.gz: 40d9f6f79c4820ea7a0a99730c463f85f4e71ae9702217df120bce263c9fc010b632302cf3747d0eff3dea19c98563597f7d21f61a43782dd8646712f546407c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.2.10
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
- sha = sha_from_ref(actual_ref)
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.10
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-09 00:00:00.000000000 Z
11
+ date: 2015-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab-linguist