Skip to content

Fix error when trying to authenticate user on repo with size check enabled

What does this MR do?

Fix an error when we were trying to authenticate the author of the push (oldrev and newrev are empty) and the repo was with size check enabled.

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

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes gitlab-org/gitlab-ce#50118

Merge request reports