diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-04-29 17:45:48 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-04-29 17:45:48 +0000 |
commit | 5b34f87b8634405363e293d39a64ae5e37bc85c8 (patch) | |
tree | 5fe6386dee3ec3e44f71e3efb5cf5c21eeef5de1 | |
parent | 857a2c29ef4377640b876880e6daf7bdeafd3ae9 (diff) | |
download | bitbake-5b34f87b8634405363e293d39a64ae5e37bc85c8.tar.gz |
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"
-rw-r--r-- | lib/bb/fetch/git.py | 2 |
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) |