Skip to content

Commit

Permalink
Merge pull request #43 from nulab/issue-42/return-position-in-getInfo…
Browse files Browse the repository at this point in the history
…Refs-is-invalid

return position in getInfoRefs is invalid (#42)
  • Loading branch information
vvatanabe authored Sep 22, 2018
2 parents 7563f67 + 0577281 commit 38c9348
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 38c9348

Please sign in to comment.