diff options
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 62fff1da34..e2d9375d31 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
@@ -262,8 +262,8 @@ class LocalhostBEController(BuildEnvironmentController): | |||
262 | self._shellcmd("git remote remove origin", localdirname) | 262 | self._shellcmd("git remote remove origin", localdirname) |
263 | self._shellcmd("git remote add origin \"%s\"" % giturl, localdirname) | 263 | self._shellcmd("git remote add origin \"%s\"" % giturl, localdirname) |
264 | else: | 264 | else: |
265 | logger.debug("localhostbecontroller: cloning %s:%s in %s" % (giturl, commit, localdirname)) | 265 | logger.debug("localhostbecontroller: cloning %s in %s" % (giturl, localdirname)) |
266 | self._shellcmd("git clone \"%s\" --single-branch --branch \"%s\" \"%s\"" % (giturl, commit, localdirname)) | 266 | self._shellcmd('git clone "%s" "%s"' % (giturl, localdirname)) |
267 | 267 | ||
268 | # branch magic name "HEAD" will inhibit checkout | 268 | # branch magic name "HEAD" will inhibit checkout |
269 | if commit != "HEAD": | 269 | if commit != "HEAD": |