linux-mips
[Top] [All Lists]

Re: git problem

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: git problem
From: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date: Thu, 29 Nov 2007 15:38:41 +0100
Cc: Thomas Koeller <thomas@koeller.dyndns.org>, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=8qZPVqKeWeqn2Id9u2Mn/LeMPrN9PFTfKefwPJEnXq4=; b=F8+1tCKfAfmmiKGCaW5qm4xiY9YztiGpKTp3qp9R/22o8+ic7iPr45rkd3bxlNEsbZEETDbnH0P+lTiW+EhAk4junnHXMWy2SOqyx+vyGLukoWyN12PRh9i/5ark1dvTAVoKArKuJLt12W8ssZYep50gq5oZIDo13EnzPSnKFtU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=FwALfNTD+ahKkPzK/7DmWQqJWj0WCLdxwHOelmxbrctbqt3SQWb9Lwas00/4wljXy/qOwfp5pT7mvetrd/8j1lrpzJ+PSChmt8qpWjPhWMDyRnd3aqiGaeEwpIdmtPFWVLIKrkxVuAct7TG8LPCwViUUrQA+L2NIE9eQZ0fg/Yk=
In-reply-to: <20071129130903.GB14655@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200711281950.46472.thomas@koeller.dyndns.org> <474EA356.3070303@gmail.com> <20071129130903.GB14655@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.5 (X11/20070719)
Ralf Baechle wrote:
> Back to the original topic - git describe fails even with some of the
> very old commits of the lmo tree which are known to be tagged so there
> is something wrong.

Your issue seems different from Thomas' one. In your case:

        $ git cat-file -t refs/tags/linux-1.3.0
        commit

So the tag you mentioned is a _lightweight_ tag. These are not
considered by git-describe by default.

To make git-describe work, just do:

        $ git describe --tags $(cat .git/refs/tags/linux-1.3.0)
        linux-1.3.0

                Franck

<Prev in Thread] Current Thread [Next in Thread>