summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch/git.py')
-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 f30ae2360a..49235c141e 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -129,7 +129,7 @@ class Git(Fetch):
129 os.chdir(repodir) 129 os.chdir(repodir)
130 rungitcmd("tar -xzf %s" % (repofile),d) 130 rungitcmd("tar -xzf %s" % (repofile),d)
131 else: 131 else:
132 rungitcmd("git clone %s://%s%s %s" % (proto, host, path, repodir),d) 132 rungitcmd("git clone -n %s://%s%s %s" % (proto, host, path, repodir),d)
133 133
134 os.chdir(repodir) 134 os.chdir(repodir)
135 rungitcmd("git pull %s://%s%s" % (proto, host, path),d) 135 rungitcmd("git pull %s://%s%s" % (proto, host, path),d)