user = UserModel.ANONYMOUS;\r
}\r
\r
- List<RefModel> localBranches = JGitUtils.getLocalBranches(r, false, maxCount);\r
+ List<RefModel> localBranches = JGitUtils.getLocalBranches(r, false, -1);\r
for (RefModel refModel : localBranches) {\r
if (user.hasBranchPermission(model.name, refModel.reference.getName())) {\r
branches.add(refModel);\r
}\r
}\r
if (model.showRemoteBranches) {\r
- List<RefModel> remoteBranches = JGitUtils.getRemoteBranches(r, false, maxCount);\r
+ List<RefModel> remoteBranches = JGitUtils.getRemoteBranches(r, false, -1);\r
for (RefModel refModel : remoteBranches) {\r
if (user.hasBranchPermission(model.name, refModel.reference.getName())) {\r
branches.add(refModel);\r