Code

describe: match pattern for lightweight tags too
authorMichael Dressel <MichaelTiloDressel@t-online.de>
Wed, 4 Jun 2008 19:06:31 +0000 (21:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Jun 2008 20:08:03 +0000 (13:08 -0700)
commit4ed19a3c178d22fbd424af78b42b65533a8d1ebb
treea190332ce9ec7b4e6a614a6335a2cae255faa3e5
parent28bc30220f30850a10217d61f73e46d8a541e670
describe: match pattern for lightweight tags too

The <pattern> given "git describe --match" was used only to filter tag
objects, and not to filter lightweight tags.  This fixes it.

[jc: made the log to clarify this is a bugfix, not an enhancement, with
additional test]

Signed-off-by: Michael Dressel <MichaelTiloDressel@t-online.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-describe.c
t/t6120-describe.sh