diff --git a/plugins/github/src/org/jetbrains/plugins/github/api/GithubApiUtil.java b/plugins/github/src/org/jetbrains/plugins/github/api/GithubApiUtil.java index 6bcb0ba26e1b..ce78baaa2ddc 100644 --- a/plugins/github/src/org/jetbrains/plugins/github/api/GithubApiUtil.java +++ b/plugins/github/src/org/jetbrains/plugins/github/api/GithubApiUtil.java @@ -603,7 +603,7 @@ public class GithubApiUtil { @NotNull public static List getRepoBranches(@NotNull GithubAuthData auth, @NotNull String user, @NotNull String repo) throws IOException { - String path = "/repos/" + user + "/" + repo + "/branches"; + String path = "/repos/" + user + "/" + repo + "/branches?per_page=100"; PagedRequest request = new PagedRequest(auth, path, GithubBranch.class, GithubBranchRaw[].class); @@ -616,7 +616,7 @@ public class GithubApiUtil { @NotNull String user, @NotNull String repo, @NotNull String forkUser) throws IOException { - String path = "/repos/" + user + "/" + repo + "/forks"; + String path = "/repos/" + user + "/" + repo + "/forks?per_page=100"; PagedRequest request = new PagedRequest(auth, path, GithubRepo.class, GithubRepoRaw[].class);