From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.mlbassoc.com ([65.100.170.105] helo=mail.chez-thomas.org) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1U9z4T-0003qN-PH for bitbake-devel@lists.openembedded.org; Mon, 25 Feb 2013 15:30:34 +0100 Received: by mail.chez-thomas.org (Postfix, from userid 1998) id DBADDF81223; Mon, 25 Feb 2013 07:07:33 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id AB88BF81215; Mon, 25 Feb 2013 07:07:32 -0700 (MST) Message-ID: <512B7034.1030504@mlbassoc.com> Date: Mon, 25 Feb 2013 07:07:48 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: bitbake-devel@lists.openembedded.org References: <1361800868.25338.79.camel@ted> In-Reply-To: <1361800868.25338.79.camel@ted> Subject: Re: [meta-ti] trouble during parsing X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2013 14:30:36 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/ >> >> ? > > 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 > > 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 ------------------------------------------------------------