for-each-ref: implement missing tag values
commit87412ec1f17bc2705595ebabc010d94cb46478b7
authorJeff King <peff@peff.net>
Wed, 25 Jun 2008 16:08:15 +0000 (25 12:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2008 18:05:26 +0000 (25 11:05 -0700)
treef4196f5d730493c8c5b7f783127750a0b3df37cc
parent74b1e1235781bbe5c90b802c1551446a5f5d69f1
for-each-ref: implement missing tag values

The "type" and "object" fields for tags were accepted as
valid atoms, but never implemented. Consequently, they
simply returned the empty string, even for valid tags.

Noticed by Lea Wiemann.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-for-each-ref.c