author | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Aug 2011 21:30:35 +0000 (14:30 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 22 Aug 2011 18:34:55 +0000 (11:34 -0700) | ||
commit | beba25abbc34a07e07ce933210cda15202ef76cc | |
tree | cc4164622aaffa20dc9f67fd980bc92e7e1f449b | tree | snapshot |
parent | 91f175165aba17903ab928da543052ea335fc924 | commit | diff |
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>
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 | diff | blob | history |