We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cca202f + 7b15a4d commit 521ccfdCopy full SHA for 521ccfd
1 file changed
backend/app/services/workspace.py
@@ -363,6 +363,10 @@ async def _clone_git_workspace(
363
"clone",
364
"--depth",
365
"1",
366
+ # `--depth` implies `--single-branch`, which leaves only the default
367
+ # branch's remote-tracking ref — the branch selector then has nothing
368
+ # to list beyond `main`. Keep all branches visible at depth 1.
369
+ "--no-single-branch",
370
git_url,
371
str(workspace_dir),
372
stdout=asyncio.subprocess.PIPE,
0 commit comments