summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-04-04 23:46:55 +0200
committerNejc Habjan <nejc.habjan@siemens.com>2022-04-04 23:46:55 +0200
commit149d2446fcc79b31d3acde6e6d51adaf37cbb5d3 (patch)
treeb3d3b85601b57919ed980a44dc685f1c331a7013 /gitlab/v4/objects
parent19ab07d425cbe9fd23e1e94e107b52f9d14eecf1 (diff)
downloadgitlab-149d2446fcc79b31d3acde6e6d51adaf37cbb5d3.tar.gz
fix(cli): add missing filters for project commit list
Diffstat (limited to 'gitlab/v4/objects')
-rw-r--r--gitlab/v4/objects/commits.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/gitlab/v4/objects/commits.py b/gitlab/v4/objects/commits.py
index fa08ef0..5f13f5c 100644
--- a/gitlab/v4/objects/commits.py
+++ b/gitlab/v4/objects/commits.py
@@ -153,6 +153,16 @@ class ProjectCommitManager(RetrieveMixin, CreateMixin, RESTManager):
required=("branch", "commit_message", "actions"),
optional=("author_email", "author_name"),
)
+ _list_filters = (
+ "ref_name",
+ "since",
+ "until",
+ "path",
+ "with_stats",
+ "first_parent",
+ "order",
+ "trailers",
+ )
def get(
self, id: Union[str, int], lazy: bool = False, **kwargs: Any