Skip to content
Snippets Groups Projects

Handle "git archive" via headers

Merged username-removed-5302 requested to merge archive-header into master
6 files
+ 95
37
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 2
3
@@ -7,7 +7,6 @@ package lfs
import (
"../api"
"../helper"
"../proxy"
"bytes"
"crypto/sha256"
"encoding/hex"
@@ -20,8 +19,8 @@ import (
"path/filepath"
)
func PutStore(a *api.API, p *proxy.Proxy) http.Handler {
return lfsAuthorizeHandler(a, handleStoreLfsObject(p))
func PutStore(a *api.API, h http.Handler) http.Handler {
return lfsAuthorizeHandler(a, handleStoreLfsObject(h))
}
func lfsAuthorizeHandler(myAPI *api.API, handleFunc api.HandleFunc) http.Handler {
Loading