Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-01-29 19:46:23 +0300
committerJacob Vosmaer <jacob@gitlab.com>2018-01-30 19:51:56 +0300
commita6dbb85e978cb05255fd78de44d6f7b364f6dabc (patch)
tree6d0e139e781af52cc6997662eaf6038f62542eb0 /lib
parent9d53c15c86cf8deacff2b4c0c2cbd5219b9647e5 (diff)
Remove Rugged exception in cache rescue
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/git/tree.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/git/tree.rb b/lib/gitlab/git/tree.rb
index 5cf336af3c6..ba6058fd3c9 100644
--- a/lib/gitlab/git/tree.rb
+++ b/lib/gitlab/git/tree.rb
@@ -83,6 +83,8 @@ module Gitlab
commit_id: sha
)
end
+ rescue Rugged::ReferenceError
+ []
end
end