Remove debug code.

This commit is contained in:
takezoe
2013-06-05 10:35:22 +09:00
parent a9104f51f1
commit 275f6f02f8

View File

@@ -24,6 +24,7 @@ class BasicAuthenticationFilter extends Filter with RepositoryService with Accou
val paths = request.getRequestURI.split("/") val paths = request.getRequestURI.split("/")
val repositoryOwner = paths(2) val repositoryOwner = paths(2)
val repositoryName = paths(3).replaceFirst("\\.git$", "") val repositoryName = paths(3).replaceFirst("\\.git$", "")
println(request.getRequestURI)
getRepository(repositoryOwner, repositoryName, request.getServletContext) match { getRepository(repositoryOwner, repositoryName, request.getServletContext) match {
case Some(repository) => { case Some(repository) => {
if(!request.getRequestURI.endsWith("/git-receive-pack") && if(!request.getRequestURI.endsWith("/git-receive-pack") &&