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 526668b..c226887 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -274,7 +274,7 @@ class Git(FetchMethod):
274 branchname = ud.branches[ud.names[0]] 274 branchname = ud.branches[ud.names[0]]
275 runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname, \ 275 runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname, \
276 ud.revisions[ud.names[0]]), d) 276 ud.revisions[ud.names[0]]), d)
277 runfetchcmd("%s branch --set-upstream %s origin/%s" % (ud.basecmd, branchname, \ 277 runfetchcmd("%s branch %s --set-upstream-to origin/%s" % (ud.basecmd, branchname, \
278 branchname), d) 278 branchname), d)
279 else: 279 else:
280 runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d) 280 runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d)