Skip to content
Snippets Groups Projects

Handle "git archive" via headers

Merged username-removed-5302 requested to merge archive-header into master
4 files
+ 6
6
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 1
1
@@ -24,7 +24,7 @@ type archive struct{ senddata.Prefix }
var SendArchive = &archive{"git-archive:"}
func (a *archive) Handle(w http.ResponseWriter, r *http.Request, sendData string) {
func (a *archive) Inject(w http.ResponseWriter, r *http.Request, sendData string) {
var params struct {
RepoPath string
ArchivePath string
Loading