github-tools / github-tools/github

listBranches() does not return all branches in a repository

Offen
#592 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
3.8k
Forks
809
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When using `listBranches()` on a repository with _over_ 30 branches, I only get 30 branches in the response. The response includes the page information:

```
link: '; rel="next", ; rel="last"',
```

However, I do not see a way to include options on the [listBranches()](http://github-tools.github.io/github/docs/3.2.3/Repository.html#listBranches) function. Is it currently possible to get back all the branches in the repository?

EDIT: This might be a duplicate of [this feature request](https://github.com/github-tools/github/issues/408).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.