Code

revision.c: update show_object_with_name() without using malloc()
authorJunio C Hamano <gitster@pobox.com>
Wed, 17 Aug 2011 21:30:35 +0000 (14:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Aug 2011 18:34:55 +0000 (11:34 -0700)
commitbeba25abbc34a07e07ce933210cda15202ef76cc
treecc4164622aaffa20dc9f67fd980bc92e7e1f449b
parent91f175165aba17903ab928da543052ea335fc924
revision.c: update show_object_with_name() without using malloc()

Allocating and then immediately freeing temporary memory a million times
when listing a million objects is distasteful.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c