summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-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 9bd87ad25c..5ac7e9ad41 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -289,7 +289,7 @@ class Git(FetchMethod):
289 branchname = ud.branches[ud.names[0]] 289 branchname = ud.branches[ud.names[0]]
290 runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname, \ 290 runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname, \
291 ud.revisions[ud.names[0]]), d) 291 ud.revisions[ud.names[0]]), d)
292 runfetchcmd("%s branch --set-upstream %s origin/%s" % (ud.basecmd, branchname, \ 292 runfetchcmd("%s branch %s --set-upstream-to origin/%s" % (ud.basecmd, branchname, \
293 branchname), d) 293 branchname), d)
294 else: 294 else:
295 runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d) 295 runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d)