summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch/git.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-13 11:18:14 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-13 11:35:11 +0100
commita18e9b4f9336ac733265f83db68fc17659d7433c (patch)
treec5a28b01fd904cca25fd351ed0b743dcfc570ec2 /bitbake/lib/bb/fetch/git.py
parent0ea4b896495be47e6403595d8419648f2aae68dc (diff)
downloadpoky-a18e9b4f9336ac733265f83db68fc17659d7433c.tar.gz
bitbake/git.py: Allow tracking of branches in SRC_URI without cloning for use with fullclone
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch/git.py')
-rw-r--r--bitbake/lib/bb/fetch/git.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index 535f9e5f3a..e77d2a5b91 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -79,6 +79,10 @@ class Git(Fetch):
79 79
80 ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git" 80 ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git"
81 81
82 if 'noclone' in ud.parm:
83 ud.localfile = None
84 return None
85
82 return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) 86 return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile)
83 87
84 def go(self, loc, ud, d): 88 def go(self, loc, ud, d):