Code

Have set_try_to_free_routine return the previous routine
authorJohannes Sixt <j6t@kdbg.org>
Sat, 8 May 2010 15:13:49 +0000 (17:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 May 2010 05:27:54 +0000 (22:27 -0700)
commit851c34b04e0ce866e15c28e144986eca7533a6f4
treef0c79c6963ecc08c4ab1d76a08156bcd2bfc39f5
parent937491944292fa3303b565b9bd8914c6b644ab13
Have set_try_to_free_routine return the previous routine

This effectively requires from the callers of set_try_to_free_routine to
treat the try-to-free-routines as a stack.

We will need this for the next patch where the only current caller cannot
depend on that the previously set routine was the default routine.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c
git-compat-util.h
wrapper.c