summaryrefslogtreecommitdiff
path: root/compat/setenv.c
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@cam.org>2009-09-03 21:54:03 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-09-05 22:27:08 -0700
commit0ef95f72f878184fbce8d7c855ab4346c081abed (patch)
treef012fc2a4ad51f09436a5259c7b0ffe39feb9316 /compat/setenv.c
parentmake shallow repository deepening more network efficient (diff)
downloadtgif-0ef95f72f878184fbce8d7c855ab4346c081abed.tar.xz
pack-objects: free preferred base memory after usage
When adding objects for preferred delta base, the content from tree objects leading to given paths is kept in a cache. This has the potential to grow significantly, especially with large directories as the whole tree object content is loaded in memory, even if in practice the number of those objects is limited to the 256 cache entries plus the $window root tree objects. Still, that can't hurt freeing that up after object enumeration is done, and before more memory is needed for delta search. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/setenv.c')
0 files changed, 0 insertions, 0 deletions