[PATCH 3/9] fetch2/git: do not shell-quote the shallow clone remote

Anders Heimer <[email protected]> Thu, 25 Jun 2026 09:07:44 +0200
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <[email protected]>
Signed-off-by: Anders Heimer <[email protected]>
---
 lib/bb/fetch2/git.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index a456465e6..00983b744 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -580,7 +580,7 @@ class Git(FetchMethod):
         # Use repourl when creating a fast initial shallow clone
         # Prefer already existing full bare clones if available
         if not ud.shallow_skip_fast and not os.path.exists(ud.clonedir):
-            remote = shlex.quote(repourl)
+            remote = repourl
         else:
             remote = ud.clonedir
         runfetchcmd(ud.basecmd + ['remote', 'add', 'origin', remote], d, workdir=dest)