diff --git a/knotserver/xrpc/repo_branches.go b/knotserver/xrpc/repo_branches.go --- a/knotserver/xrpc/repo_branches.go +++ b/knotserver/xrpc/repo_branches.go @@ -20,12 +20,14 @@ cursor := r.URL.Query().Get("cursor") - limit := 50 // default - if limitStr := r.URL.Query().Get("limit"); limitStr != "" { - if l, err := strconv.Atoi(limitStr); err == nil && l > 0 && l <= 100 { - limit = l - } - } + // limit := 50 // default + // if limitStr := r.URL.Query().Get("limit"); limitStr != "" { + // if l, err := strconv.Atoi(limitStr); err == nil && l > 0 && l <= 100 { + // limit = l + // } + // } + + limit := 500 gr, err := git.PlainOpen(repoPath) if err != nil {