gogits/gogs — pull request #169 by kureikain (2014-05-09 16:05:33+00:00)
Title: * Fix SSH clone URL for non default port

Accordingly http://stackoverflow.com/questions/1558719/using-a-remote-repository-with-non-standard-port, when use git over SSH on non default port, we have to preceed the ssh://. This PR change middle ware repo.go by spliting the domain in config file by ':', and compare the port with 22.