Barebox 'git describe' strangeness

Sascha Hauer s.hauer at pengutronix.de
Thu Jul 1 03:47:39 EDT 2010


On Thu, Jul 01, 2010 at 09:28:22AM +0200, Eric Bénard wrote:
> Hi Baruch,
>
> Le 01/07/2010 09:13, Baruch Siach a écrit :
>> Hi barebox list,
>>
>> For some reason 'git describe' shows me:
>>
>> v2009.12.0-178-gdc882c3
>>
>> I.e. git doesn't find the more recent v2010.06.0 tag. What is worse is that
>> the top-level Makefile takes the '-178-gdc882c3' part and attaches it to
>> '2010.06.0', making the output of the 'version' command:
>>
>> barebox 2010.06.0-00178-gcc827a1 (Jul  1 2010 - 09:02:45)
>>
>> which is plain wrong.
>>
>> Can anyone here explain what's going on?
>>
> same thing here (the man says "By default (without --all or --tags) git  
> describe only shows annotated tags." so maybe the tags after 2009.12.0  
> are not annotated ?)

No, they are not. Sorry, I'm still learning git...

I will fix this from the next release on.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list