Gitlab::GitLogger.error("POST-RECEIVE: Check gitlab.yml config for correct gitolite.repos_path variable. \"#{Gitlab.config.gitolite.repos_path}\" does not match \"#{repo_path}\"")
end
repo_path.gsub!(/.git$/,"")
repo_path.gsub!(/^\//,"")
project=Project.find_with_namespace(repo_path)
returnfalseifproject.nil?
ifproject.nil?
Gitlab::GitLogger.error("POST-RECEIVE: Triggered hook for non-existing project with full path \"#{repo_path}\"")