Skip to content

Add ssh port to repository access url #770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 17, 2020

Conversation

bellatriks
Copy link

@bellatriks bellatriks commented Jul 11, 2020

This change is to solve #767

If the ssh port is not changed, the ssh url will have a redundant :22 port number . I'm not an expert in ruby and not able to add a condition to handle this case.

UPD: added a condition to skip the default port

@n-rodriguez n-rodriguez merged commit c27352b into redmine-git-hosting:master Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants