Bug#326: Always empty repositories if trailing slash is missed in base_path
This commit is contained in:
parent
ef396d08fc
commit
c5a9e3cb1b
|
@ -56,7 +56,7 @@ class Repository
|
|||
end
|
||||
|
||||
def path_to_repo
|
||||
GIT_HOST["base_path"] + path + ".git"
|
||||
File.join(GIT_HOST["base_path"], "#{path}.git")
|
||||
end
|
||||
|
||||
def update_repository
|
||||
|
|
Loading…
Reference in a new issue