Fix http push with namespaces. Allow use of username as login

This commit is contained in:
Dmitriy Zaporozhets 2012-11-26 11:23:08 +02:00
parent 1d857aae17
commit 585eb70588
2 changed files with 9 additions and 5 deletions

View file

@ -185,7 +185,7 @@ module Repository
end
def http_url_to_repo
http_url = [Gitlab.config.url, "/", path, ".git"].join('')
http_url = [Gitlab.config.url, "/", path_with_namespace, ".git"].join('')
end
# Check if current branch name is marked as protected in the system