Commit fddfbc92 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge branch 'dont_check_the_zero_size' into 'master'

No need to check for zero size, this will be handled while storing the object.

Related to gitlab-org/gitlab-ce#3658

See merge request !14
parents 6f76893a 1b1069f8
......@@ -33,11 +33,6 @@ func lfsAuthorizeHandler(handleFunc serviceHandleFunc) serviceHandleFunc {
return
}
if r.LfsSize == 0 {
fail500(w, "lfsAuthorizeHandler", errors.New("Lfs object size not specified."))
return
}
if err := os.MkdirAll(r.StoreLFSPath, 0700); err != nil {
fail500(w, "Couldn't create directory for storing LFS tmp objects.", err)
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment