From 11ce59b501b5c82f6705db4d76e468fcbe3412db Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 16 Aug 2007 08:52:43 +0000 Subject: [PATCH] bitbake fetch/git.py: Don't use master as a tag git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2501 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- bitbake/lib/bb/fetch/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py index 7d55ee9138..31c54d6e9c 100644 --- a/bitbake/lib/bb/fetch/git.py +++ b/bitbake/lib/bb/fetch/git.py @@ -51,7 +51,7 @@ class Git(Fetch): ud.proto = ud.parm['protocol'] tag = data.getVar("SRCREV", d, 0) - if 'tag' in ud.parm: + if 'tag' in ud.parm and len(tag) == 40: ud.tag = ud.parm['tag'] elif tag and "get_srcrev" not in tag and len(tag) == 40: ud.tag = tag