diff options
author | Max Wittig <max.wittig95@gmail.com> | 2019-07-21 20:56:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-21 20:56:24 +0200 |
commit | 27b9706b43f14f9e0cf954cdec368c63e83a2a0d (patch) | |
tree | f28360b68379f6a881ce145c2125df0a83ac6b44 | |
parent | 262b222000dad30fc6dfc63ccf2fa200eba09662 (diff) | |
parent | 7969a78ce8605c2b0195734e54c7d12086447304 (diff) | |
download | gitlab-27b9706b43f14f9e0cf954cdec368c63e83a2a0d.tar.gz |
Merge pull request #837 from python-gitlab/PR-bugfix-718
fix(cli): allow --recursive parameter in repository tree
-rw-r--r-- | gitlab/v4/objects.py | 2 |
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. |