Skip to content

Fix PostReceive failing for project mirrors missing local branch

Stan Hu requested to merge sh-fix-issue-50843 into master

For some reason, if the local branch is deleted but the remote branch exists, PostReceive fails with a nil error.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50843

Merge request reports