From: Shawn O. Pearce Date: Tue, 03 Jun 2008 22:42:26 GMT Subject: Re: [PATCH] describe match pattern for soft tags too Message-ID: <20080603224225.GN12896@spearce.org> In-Reply-To: Johannes Schindelin wrote: > On Tue, 3 Jun 2008, Michael Dressel wrote: > > > So far git describe --match would apply the only > > to tag objects not to soft tags. > > And I thought that was what --tags was for. Yes. However there is a bug in git-describe's implementation; --match only tested on annotated tags. The test was buried inside of the block that handles the annotated case. Michael's patch pulls this test outside where it can apply to lightweight tags when --tags is included on the command line. -- Shawn.