Skip to content

Stop rescuing Rugged::Reference in Repository cache

Jacob Vosmaer requested to merge rugged-reference-cache-rescue into master

What does this MR do?

Removes a Rugged-specific rescue from the cache mechanism on Repository. If I understand this correctly, the impact is that in theory some cases where we would show an empty page might start throwing an exception instead. But as far as I can see, I have caught the only place where we could still be throwing Rugged::ReferenceError.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

We want to decouple the application from Rugged.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Jacob Vosmaer

Merge request reports