From: Jonathan Nieder Date: Sat, 6 Nov 2010 11:44:11 +0000 (-0500) Subject: wrapper: move xmmap() to sha1_file.c X-Git-Tag: v1.7.4-rc0~89^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/58ecbd5edeb2357c313db75bc49d45981a2061b7?ds=inline;hp=58ecbd5edeb2357c313db75bc49d45981a2061b7 wrapper: move xmmap() to sha1_file.c wrapper.o depends on sha1_file.o for a number of reasons. One is release_pack_memory(). xmmap function calls mmap, discarding unused pack windows when necessary to relieve memory pressure. Simple git programs using wrapper.o as a friendly libc do not need this functionality. So move xmmap to sha1_file.o, where release_pack_memory() is. Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---