Skip to content

Ensure that Blob.raw returns always returns a valid blob object

Stan Hu requested to merge sh-blob-raw-check into master

In gitlab-org/gitlab-ee!2976, we saw that a given OID could point to a commit, which would cause the delta size check to fail. Gitaly already returns nil if the OID isn't a blob, so this change makes the Rugged implementation consistent.

Merge request reports