[bitbake-devel] [meta-ti] trouble during parsing
Gary Thomas
gary at mlbassoc.com
Mon Feb 25 14:07:48 UTC 2013
On 2013-02-25 07:01, Richard Purdie wrote:
> On Mon, 2013-02-25 at 08:44 -0500, Trevor Woerner wrote:
>> If the purpose of the ls-remote is to match a tag with a hash,
>> wouldn't it be easier to just:
>>
>> cat .git/refs/tags/<tagid>
>>
>> ?
>
> If the git clone hasn't happened yet, this doesn't work.
>
>> And if the purpose of knowing the tagid is to use that version of the
>> code, wouldn't it be easier to just:
>>
>> git checkout <tagid>
>
> That isn't the only purpose.
Additionally, the problem is that tags can move and the revid
will change. Hence the need to probe the source GIT for the answer.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the bitbake-devel
mailing list