summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-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 fb6125ce3f..87a35d97a3 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -190,7 +190,7 @@ class Git(FetchMethod):
190 logger.debug(1, "No Origin") 190 logger.debug(1, "No Origin")
191 191
192 runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, repourl), d) 192 runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, repourl), d)
193 fetch_cmd = "%s fetch --prune %s refs/*:refs/*" % (ud.basecmd, repourl) 193 fetch_cmd = "%s fetch -f --prune %s refs/*:refs/*" % (ud.basecmd, repourl)
194 bb.fetch2.check_network_access(d, fetch_cmd, ud.url) 194 bb.fetch2.check_network_access(d, fetch_cmd, ud.url)
195 runfetchcmd(fetch_cmd, d) 195 runfetchcmd(fetch_cmd, d)
196 runfetchcmd("%s prune-packed" % ud.basecmd, d) 196 runfetchcmd("%s prune-packed" % ud.basecmd, d)