Skip to content

Commit

Permalink
return position in getInfoRefs is invalid (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvatanabe committed Sep 22, 2018
1 parent 7563f67 commit 0577281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion githttpxfer/githttpxfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ func (ghx *GitHTTPXfer) getInfoRefs(ctx Context) {
res.HdrNocache()
if err := ghx.sendFile("text/plain; charset=utf-8", ctx); err != nil {
RenderNotFound(res.Writer)
return
}
return
}

args := []string{serviceName, "--stateless-rpc", "--advertise-refs", "."}
Expand Down

0 comments on commit 0577281

Please sign in to comment.