Skip to content

CreateRepositoryFromURL: try adding .git suffix when clone fails

Adam Hegyi requested to merge add-git-suffix-when-cloning-from-url into master

Due to a security fix, git command is no longer following redirects which can cause failed imports when the '.git' suffix is missing from the url. This change appends the '.git' suffix if the clone command fails and tries cloning the repository again.

Edited by Adam Hegyi

Merge request reports