commit | f380872f0abc7fe98022696996d346df99c53f1a | [log] [tgz] |
---|---|---|
author | Dan McGee <dpmcgee@gmail.com> | Tue Oct 18 00:21:24 2011 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Oct 18 00:16:32 2011 -0700 |
tree | 89d4a10d679975c889a1281276c40c8f43814e1a | |
parent | 92bef1a14a6755ce1407a0e180cdc9e14a5c56b9 [diff] |
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>