]> source.dussan.org Git - gitea.git/commit
Add LFS object verification step after upload (#2868)
authorLauris BH <lauris@nix.lv>
Wed, 8 Nov 2017 13:04:19 +0000 (15:04 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Nov 2017 13:04:19 +0000 (15:04 +0200)
commitba2e0240c60873679ebfce6fc7c961b0328f706b
tree5cedd7b620bdf453cb4efe35642f726c9e43b707
parent61f5c2250353d5a4e51f50e356e8d9f193c509fd
Add LFS object verification step after upload (#2868)

* Add LFS object verification step after upload

* Fix file verification condition and small refactor

* Fix URLs

* Remove newline and return status 422 on failed verification

* Better error hadling
modules/lfs/content_store.go
modules/lfs/server.go
routers/routes/routes.go