summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index 8c91de9db1..535f9e5f3a 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -105,7 +105,7 @@ class Git(Fetch):
105 105
106 os.chdir(ud.clonedir) 106 os.chdir(ud.clonedir)
107 # Remove all but the .git directory 107 # Remove all but the .git directory
108 if not self._contains_ref(ud.tag, d): 108 if not self._contains_ref(ud.tag, d) or 'fullclone' in ud.parm:
109 runfetchcmd("rm * -Rf", d) 109 runfetchcmd("rm * -Rf", d)
110 runfetchcmd("%s fetch %s://%s%s%s %s" % (ud.basecmd, ud.proto, username, ud.host, ud.path, ud.branch), d) 110 runfetchcmd("%s fetch %s://%s%s%s %s" % (ud.basecmd, ud.proto, username, ud.host, ud.path, ud.branch), d)
111 runfetchcmd("%s fetch --tags %s://%s%s%s" % (ud.basecmd, ud.proto, username, ud.host, ud.path), d) 111 runfetchcmd("%s fetch --tags %s://%s%s%s" % (ud.basecmd, ud.proto, username, ud.host, ud.path), d)