diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-01-31 14:00:37 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-01-31 14:00:37 +0000 |
commit | a0fc0fcc53edf316ca8190b93605d198e7de7a65 (patch) | |
tree | 4ff75a0ecda5d2d01d1377a5a2a59f24a6ddb800 /lib | |
parent | 08e013431acb5238b4806260c4b9c304837097a3 (diff) | |
parent | a6dbb85e978cb05255fd78de44d6f7b364f6dabc (diff) | |
download | gitlab-ce-a0fc0fcc53edf316ca8190b93605d198e7de7a65.tar.gz |
Merge branch 'rugged-reference-cache-rescue' into 'master'
Stop rescuing Rugged::Reference in Repository cache
See merge request gitlab-org/gitlab-ce!16770
Diffstat (limited to 'lib')
-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 |