summaryrefslogtreecommitdiff
path: root/compat/obstack.c
diff options
context:
space:
mode:
authorLibravatar Dan McGee <dpmcgee@gmail.com>2011-10-18 00:21:24 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-18 00:16:32 -0700
commitf380872f0abc7fe98022696996d346df99c53f1a (patch)
tree89d4a10d679975c889a1281276c40c8f43814e1a /compat/obstack.c
parentpack-objects: use unsigned int for counter and offset values (diff)
downloadtgif-f380872f0abc7fe98022696996d346df99c53f1a.tar.xz
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>
Diffstat (limited to 'compat/obstack.c')
0 files changed, 0 insertions, 0 deletions