Skip to content

Commit 35d9a3e

Browse files
author
root
committed
Use gitolite_server_host param
1 parent d571493 commit 35d9a3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/redmine_git_hosting/commands.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def ssh
104104
# * (-i <gitolite_ssh_private_key>) Use the SSH keys given in Settings
105105
# * (-p <gitolite_server_port>) Use port from settings
106106
# * (-o BatchMode=yes) Never ask for a password
107-
# * <gitolite_user>@localhost (see +gitolite_url+)
107+
# * <gitolite_user>@<gitolite_server_host> (see +gitolite_url+)
108108
def ssh_shell_params
109109
[
110110
'-T',

lib/redmine_git_hosting/config/gitolite_base.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def gitolite_temp_dir
9797

9898

9999
def gitolite_url
100-
[gitolite_user, '@localhost'].join
100+
[gitolite_user, '@', gitolite_server_host].join
101101
end
102102

103103

0 commit comments

Comments
 (0)