kubitron/redmine_git_hosting — Issue #2: allow alternate port in gitServer parameter
Author: simonsd
Created: 2012-01-23 08:27:52+00:00
State: open

Allow the usage of an alternate port in the gitServer parameter.
For now this is only allowed in the http url setting,
but the gitServer param is the one being used to clone the gitolite-admin repo.

Make sure that when using any port besides 22, you prefix the gitServer url with 'git+ssh://',
and replace the colon after the url with a '/' to separate the port from the repo specifier.

On a sidenote you also need to make sure you patch the git_url_ssh param in assets/javascripts/git_url_display.js:7
Same for the app/views/repositories/git_instructions.html.erb:3
And probably some others as well.