Skip to content

Commit 27b9706

Browse files
authored
Merge pull request #837 from python-gitlab/PR-bugfix-718
fix(cli): allow --recursive parameter in repository tree
2 parents 262b222 + 7969a78 commit 27b9706

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)