From 5b34f87b8634405363e293d39a64ae5e37bc85c8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 29 Apr 2006 17:45:48 +0000 Subject: bitbake-1.4/lib/bb/fetch/git.py: Attachment from http://bugs.openembedded.org/attachment.cgi?id=690&action=view from bug #918 to fix "git fetcher: Stop clones making a checkout" --- lib/bb/fetch/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.2.3-korg