We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 130c21d commit 3932b44Copy full SHA for 3932b44
renku/ui/service/gateways/repository_cache.py
@@ -132,6 +132,10 @@ def _clone_project(
132
133
if parsed_git_url.owner is None or parsed_git_url.name is None:
134
raise ValidationError("Invalid `git_url`, missing owner or repository", "git_url")
135
+ if branch == "":
136
+ branch = None
137
+ if commit_sha == "":
138
+ commit_sha = None
139
140
project_data = {
141
"project_id": uuid.uuid4().hex,
0 commit comments