diff options
-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 59a2ee8f80..b5d6f99de2 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -363,7 +363,7 @@ class Git(FetchMethod): | |||
363 | runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir) | 363 | runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir) |
364 | 364 | ||
365 | runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, repourl), d, workdir=ud.clonedir) | 365 | runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, repourl), d, workdir=ud.clonedir) |
366 | fetch_cmd = "LANG=C %s fetch -f --prune --progress %s refs/*:refs/*" % (ud.basecmd, repourl) | 366 | fetch_cmd = "LANG=C %s fetch -f --progress %s refs/*:refs/*" % (ud.basecmd, repourl) |
367 | if ud.proto.lower() != 'file': | 367 | if ud.proto.lower() != 'file': |
368 | bb.fetch2.check_network_access(d, fetch_cmd, ud.url) | 368 | bb.fetch2.check_network_access(d, fetch_cmd, ud.url) |
369 | progresshandler = GitProgressHandler(d) | 369 | progresshandler = GitProgressHandler(d) |