stephenmcd/mezzanine — pull request #550 by Ryochan7 (2013-02-08 16:56:38+00:00)
Title: Alter fabfile.py to allow git repo_url to point to a ssh hosted git repository

I made a small change to the repo_url checks in the fabfile.py file regarding git. I am not running the git daemon on my production server but I can access my repository via ssh. By default, the fabfile checks if the repo_url starts with git in order to verify that the url points to a git repository. That check would work for people running the git daemon on their server or for people who host their repository on github. However, access a git repository hosted via ssh will not work using the default check.

I made a small change to also check if the repo_url ends with .git. This change has allowed me to access a private repository that is accessible via ssh