From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: Re: [PATCH] doc: enhance git describe --tags help Date: Tue, 30 Sep 2008 11:56:41 +0200 Message-ID: <20080930095641.GA9001@strlen.de> References: <20080928135526.GG5302@artemis.corp> <20080928143949.GH5302@artemis.corp> <20080928150318.GI5302@artemis.corp> <20080928151259.GJ5302@artemis.corp> <20080929150127.GB18340@spearce.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pierre Habouzit , Erez Zilber , "git@vger.kernel.org" , open-iscsi@googlegroups.com, Junio C Hamano To: "Shawn O. Pearce" X-From: git-owner@vger.kernel.org Tue Sep 30 11:58:28 2008 connect(): Connection refused Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KkbzV-0004Ww-0z for gcvg-git-2@gmane.org; Tue, 30 Sep 2008 11:58:01 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752341AbYI3J4u (ORCPT ); Tue, 30 Sep 2008 05:56:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753034AbYI3J4u (ORCPT ); Tue, 30 Sep 2008 05:56:50 -0400 Received: from Chamillionaire.breakpoint.cc ([85.10.199.196]:39493 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751522AbYI3J4t (ORCPT ); Tue, 30 Sep 2008 05:56:49 -0400 Received: id: ukleinek by Chamillionaire.breakpoint.cc authenticated by ukleinek with local (easymta 1.00 BETA 1) id 1KkbyD-0002NU-GF; Tue, 30 Sep 2008 11:56:41 +0200 Content-Disposition: inline In-Reply-To: <20080929150127.GB18340@spearce.org> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Hello, On Mon, Sep 29, 2008 at 08:01:27AM -0700, Shawn O. Pearce wrote: > --tags:: > If a lightweight tag exactly matches, output it. If no > annotated tag is found in the ancestry but a lightweight > tag is found, output the lightweight tag. IMHO --tags should behave as Erez expected (because it's what I expected, too). As --tags currently behaves it's only usable in very rare cases (most of the time it only makes a difference on repos without any annotated tag). When do you pass --tags? Only if a lightweight tag is OK for an answer. And then I would prefer a "near" lightweight tag to a "farer" annotated one. Best regards Uwe