Skip to content

Commit 0a56a84

Browse files
author
root
committed
Fix repo url in Gitolite hooks
1 parent 109400c commit 0a56a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: contrib/hooks/post-receive/lib/git_hosting_config.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def project_name
5252

5353

5454
def repository_name
55-
if config.has_key?('repositoryid')
55+
if config.has_key?('repositoryid') && !config['repositoryid'].empty?
5656
"#{project_name}/#{config['repositoryid']}"
5757
else
5858
project_name

0 commit comments

Comments
 (0)