for-each-ref: Field with abbreviated objectname
commit67687feae52ff2d3ab7edf3ac42a39c5e44be299
authorMichael J Gruber <git@drmicha.warpmail.net>
Thu, 13 May 2010 12:31:46 +0000 (13 14:31 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 May 2010 04:49:04 +0000 (18 21:49 -0700)
treeba6200d9cbf29a9c1acaa17bfaa4a782d531b249
parent04794fdc2701f15d79d92805cfe94c9e754e2e05
for-each-ref: Field with abbreviated objectname

Introduce a :short modifier to objectname which outputs the abbreviated
object name.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-for-each-ref.txt
builtin/for-each-ref.c
t/t6300-for-each-ref.sh