Commit c5a9e3cb authored by Valery Sizov's avatar Valery Sizov

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

parent ef396d08
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment