Description of the problem, including code/CLI snippet
Method project.commits.list(get_all=True) does not return commits from all branches.
I tried it with parameters as weel, but with no success:
commits = project.commits.list(get_all=True, since='2026-05-17 00:00:00', until='2026-05-18 22:20:00')
It returns only commits from default "master" branch.
When I call it to pull with specified name, then it works:
commits = project.commits.list(get_all=True, ref_name='tst')
I am connecting to our local gitlab server and already tried its API - "projects/12345/repository/commits?all=true" it returns all commits from all branches.
Expected Behavior
project.commits.list(get_all=True) returns all commits from all branches
Actual Behavior
project.commits.list(get_all=True) returns commits only from default "master" branch
Specifications
- python-gitlab version: 8.3.0
- Gitlab server version (or gitlab.com):
Description of the problem, including code/CLI snippet
Method project.commits.list(get_all=True) does not return commits from all branches.
I tried it with parameters as weel, but with no success:
commits = project.commits.list(get_all=True, since='2026-05-17 00:00:00', until='2026-05-18 22:20:00')
It returns only commits from default "master" branch.
When I call it to pull with specified name, then it works:
commits = project.commits.list(get_all=True, ref_name='tst')
I am connecting to our local gitlab server and already tried its API - "projects/12345/repository/commits?all=true" it returns all commits from all branches.
Expected Behavior
project.commits.list(get_all=True) returns all commits from all branches
Actual Behavior
project.commits.list(get_all=True) returns commits only from default "master" branch
Specifications