Fix LFS Locks over SSH (#6999)

* Fix LFS Locks over SSH
* Mark test as skipped
This commit is contained in:
zeripath 2019-05-28 11:32:41 +01:00 committed by GitHub
parent 27b271d457
commit 31557b1274
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 150 additions and 69 deletions

View file

@ -923,7 +923,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Post("/", lfs.PostLockHandler)
m.Post("/verify", lfs.VerifyLockHandler)
m.Post("/:lid/unlock", lfs.UnLockHandler)
}, context.RepoAssignment())
})
m.Any("/*", func(ctx *context.Context) {
ctx.NotFound("", nil)
})