Skip to content

repository: Improve git clone error handling

Mustafa Bayar requested to merge 6411-return-correct-error into master

CreateRepositoryFromURL RPC returns generic git command error when remote repository is not found. This causes issues on Geo to not recognize the error correctly. We should interpret the not found errors from git clone command correctly to Gitaly's structured not found error.

Here is the discussion that lead to this fix.

Closes #6411 (closed)

Merge request reports

Loading