Skip to content

Commit 7969a78

Browse files
xarx00max-wittig
authored andcommitted
fix(cli): allow --recursive parameter in repository tree
Fixes #718 Fixes #731
1 parent 262b222 commit 7969a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3786,7 +3786,7 @@ class Project(SaveMixin, ObjectDeleteMixin, RESTObject):
37863786
("wikis", "ProjectWikiManager"),
37873787
)
37883788

3789-
@cli.register_custom_action("Project", tuple(), ("path", "ref"))
3789+
@cli.register_custom_action("Project", tuple(), ("path", "ref", "recursive"))
37903790
@exc.on_http_error(exc.GitlabGetError)
37913791
def repository_tree(self, path="", ref="", recursive=False, **kwargs):
37923792
"""Return a list of files in the repository.

0 commit comments

Comments
 (0)