summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxarx00 <xarx@sms.cz>2019-03-05 17:27:30 +0100
committerMax Wittig <max.wittig95@gmail.com>2019-07-21 20:42:56 +0200
commit7969a78ce8605c2b0195734e54c7d12086447304 (patch)
treef28360b68379f6a881ce145c2125df0a83ac6b44
parent262b222000dad30fc6dfc63ccf2fa200eba09662 (diff)
downloadgitlab-7969a78ce8605c2b0195734e54c7d12086447304.tar.gz
fix(cli): allow --recursive parameter in repository tree
Fixes #718 Fixes #731
-rw-r--r--gitlab/v4/objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index c7edae6..74157f2 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -3786,7 +3786,7 @@ class Project(SaveMixin, ObjectDeleteMixin, RESTObject):
("wikis", "ProjectWikiManager"),
)
- @cli.register_custom_action("Project", tuple(), ("path", "ref"))
+ @cli.register_custom_action("Project", tuple(), ("path", "ref", "recursive"))
@exc.on_http_error(exc.GitlabGetError)
def repository_tree(self, path="", ref="", recursive=False, **kwargs):
"""Return a list of files in the repository.