From 016d87b9035ddd1ff99ebf84ed67f3ec817c0608 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 29 Apr 2006 10:13:18 +0000 Subject: [PATCH] lib/bb/fetch/git.py: - git clone now makes a checkout by default. Disable this. --- 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 f30ae23..49235c1 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) -- 2.7.4