From 057728166058bfeba119b531ebd6c17224f64fa4 Mon Sep 17 00:00:00 2001 From: Yuichi Watanabe Date: Sun, 23 Sep 2018 05:06:35 +0900 Subject: [PATCH] return position in getInfoRefs is invalid (#42) --- githttpxfer/githttpxfer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/githttpxfer/githttpxfer.go b/githttpxfer/githttpxfer.go index 5c54009..b031b7b 100644 --- a/githttpxfer/githttpxfer.go +++ b/githttpxfer/githttpxfer.go @@ -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", "."}