diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-01-29 17:46:23 +0100 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-01-30 17:51:56 +0100 |
commit | a6dbb85e978cb05255fd78de44d6f7b364f6dabc (patch) | |
tree | 6d0e139e781af52cc6997662eaf6038f62542eb0 /lib/gitlab/git | |
parent | 9d53c15c86cf8deacff2b4c0c2cbd5219b9647e5 (diff) | |
download | gitlab-ce-rugged-reference-cache-rescue.tar.gz |
Remove Rugged exception in cache rescuerugged-reference-cache-rescue
Diffstat (limited to 'lib/gitlab/git')
-rw-r--r-- | lib/gitlab/git/tree.rb | 2 |
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 |