From a18e9b4f9336ac733265f83db68fc17659d7433c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 13 Aug 2010 11:18:14 +0100 Subject: bitbake/git.py: Allow tracking of branches in SRC_URI without cloning for use with fullclone Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch/git.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bitbake/lib/bb/fetch/git.py') 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): ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git" + if 'noclone' in ud.parm: + ud.localfile = None + return None + return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) def go(self, loc, ud, d): -- cgit v1.2.3-54-g00ecf