Bug#326: Always empty repositories if trailing slash is missed in base_path

This commit is contained in:
Valery Sizov 2012-02-15 00:42:46 +02:00
parent ef396d08fc
commit c5a9e3cb1b

View file

@ -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