From eb7cc8a967c50abc875497fe9410c16206e51b78 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 26 Sep 2007 08:39:57 +0000 Subject: bitbake git.py: Always use tag param from URI if specified git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2791 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- bitbake/lib/bb/fetch/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py index 0b04840bf..7d55ee913 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 and len(ud.parm['tag']) == 40: + if 'tag' in ud.parm: ud.tag = ud.parm['tag'] elif tag and "get_srcrev" not in tag and len(tag) == 40: ud.tag = tag -- cgit v1.2.3