Skip to content

Report stat failures correctly when creating a repository

Sami Hiltunen requested to merge smh-fix-incorrect-error-report into master

Gitaly currently reports always a 'repository exists already' when statting a repository during creation fails. This is wrong and confusing as we hide the actual cause of the error. This commit fixes the error check to report failures of the stat call correctly.

Closes #5751 (closed)

Merge request reports