summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 534c93d3c5..5ef8cd69e2 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -485,7 +485,7 @@ class Git(FetchMethod):
485 branchname = ud.branches[ud.names[0]] 485 branchname = ud.branches[ud.names[0]]
486 runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname, \ 486 runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname, \
487 ud.revisions[ud.names[0]]), d, workdir=destdir) 487 ud.revisions[ud.names[0]]), d, workdir=destdir)
488 runfetchcmd("%s branch --set-upstream %s origin/%s" % (ud.basecmd, branchname, \ 488 runfetchcmd("%s branch %s --set-upstream-to origin/%s" % (ud.basecmd, branchname, \
489 branchname), d, workdir=destdir) 489 branchname), d, workdir=destdir)
490 else: 490 else:
491 runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=destdir) 491 runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=destdir)