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 80caf109b1..7adf2c4de3 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -353,7 +353,7 @@ class Git(FetchMethod): | |||
353 | runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir) | 353 | runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir) |
354 | 354 | ||
355 | runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, repourl), d, workdir=ud.clonedir) | 355 | runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, repourl), d, workdir=ud.clonedir) |
356 | fetch_cmd = "LANG=C %s fetch -f --prune --progress %s refs/*:refs/*" % (ud.basecmd, repourl) | 356 | fetch_cmd = "LANG=C %s fetch -f --progress %s refs/*:refs/*" % (ud.basecmd, repourl) |
357 | if ud.proto.lower() != 'file': | 357 | if ud.proto.lower() != 'file': |
358 | bb.fetch2.check_network_access(d, fetch_cmd, ud.url) | 358 | bb.fetch2.check_network_access(d, fetch_cmd, ud.url) |
359 | progresshandler = GitProgressHandler(d) | 359 | progresshandler = GitProgressHandler(d) |