diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 7b618c6fb1..40fe87c49f 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -359,7 +359,7 @@ class Git(FetchMethod): | |||
359 | runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir) | 359 | runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir) |
360 | 360 | ||
361 | runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, repourl), d, workdir=ud.clonedir) | 361 | runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, repourl), d, workdir=ud.clonedir) |
362 | fetch_cmd = "LANG=C %s fetch -f --prune --progress %s refs/*:refs/*" % (ud.basecmd, repourl) | 362 | fetch_cmd = "LANG=C %s fetch -f --progress %s refs/*:refs/*" % (ud.basecmd, repourl) |
363 | if ud.proto.lower() != 'file': | 363 | if ud.proto.lower() != 'file': |
364 | bb.fetch2.check_network_access(d, fetch_cmd, ud.url) | 364 | bb.fetch2.check_network_access(d, fetch_cmd, ud.url) |
365 | progresshandler = GitProgressHandler(d) | 365 | progresshandler = GitProgressHandler(d) |