aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2006-04-29 10:13:18 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2006-04-29 10:13:18 +0000
commit016d87b9035ddd1ff99ebf84ed67f3ec817c0608 (patch)
tree38620cbd8ed4a76fa0fea7f4bfb80a4f7afcdf63 /lib
parent83b652ff904ee0edd8cef15ad51e9853eeb6dee8 (diff)
downloadbitbake-016d87b9035ddd1ff99ebf84ed67f3ec817c0608.tar.gz
lib/bb/fetch/git.py:
- git clone now makes a checkout by default. Disable this.
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/fetch/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch/git.py b/lib/bb/fetch/git.py
index f30ae2360..49235c141 100644
--- a/lib/bb/fetch/git.py
+++ b/lib/bb/fetch/git.py
@@ -129,7 +129,7 @@ class Git(Fetch):
os.chdir(repodir)
rungitcmd("tar -xzf %s" % (repofile),d)
else:
- rungitcmd("git clone %s://%s%s %s" % (proto, host, path, repodir),d)
+ rungitcmd("git clone -n %s://%s%s %s" % (proto, host, path, repodir),d)
os.chdir(repodir)
rungitcmd("git pull %s://%s%s" % (proto, host, path),d)