Skip to content
Snippets Groups Projects
Commit c5a9e3cb authored by Valery Sizov's avatar Valery Sizov
Browse files

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

parent ef396d08
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment