linux-mips
[Top] [All Lists]

Re: git problem

To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Subject: Re: git problem
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 29 Nov 2007 13:09:04 +0000
Cc: Thomas Koeller <thomas@koeller.dyndns.org>, linux-mips@linux-mips.org
In-reply-to: <474EA356.3070303@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200711281950.46472.thomas@koeller.dyndns.org> <474EA356.3070303@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.17 (2007-11-01)
On Thu, Nov 29, 2007 at 12:32:38PM +0100, Franck Bui-Huu wrote:

> Thomas Koeller wrote:
> > on my machine I have clones of both the linux-mips and
> > Linus' kernel tree. I recently found that git-describe
> > behaves differently in those trees:
>  
> [snip]
> 
> > The commit is of course present in both trees. AFAIK the
> > 'cannot describe' error shows if there are no tags at all,
> > but this is not the case; .git/refs/tags is fully populated.
> 
> Not really, it can happen if the commit you're trying to describe and
> all of its parents are not tagged.
> 
> > Has anybody got a clue as to what may be wrong here?
> 
> Is the commit originally part of Linus' tree and was pulled later by
> Ralf ?
> 
> If so, it probably means that the commits committed by Ralf in his
> tree, which are the tagged ones, have no relationship with the ones
> pulled from Linus.

I intentionally do not carry the tags from Linus tree in the lmo git
tree.  Lots of additional tags with little actual use.  Whoever would
like then can pull from Linus' tree into a lmo clone to get Linus'
tags.

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.

  Ralf

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