Code

pack-objects: rewrite add_descendants_to_write_order() iteratively
authorDan McGee <dpmcgee@gmail.com>
Tue, 18 Oct 2011 05:21:24 +0000 (00:21 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Oct 2011 07:16:32 +0000 (00:16 -0700)
commitf380872f0abc7fe98022696996d346df99c53f1a
tree89d4a10d679975c889a1281276c40c8f43814e1a
parent92bef1a14a6755ce1407a0e180cdc9e14a5c56b9
pack-objects: rewrite add_descendants_to_write_order() iteratively

This removes the need to call this function recursively, shinking the
code size slightly and netting a small performance increase.

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c