From: Jonathan Nieder Date: Sat, 06 Nov 2010 18:42:51 GMT Subject: Re: [PATCH 8/8] Remove pack file handling dependency from wrapper.o Message-ID: <20101106184251.GA14288@burratino> In-Reply-To: <4CD5996F.6010809@lsrfire.ath.cx> René Scharfe wrote: > Ugh. Having to remember setting this handler is tedious. > > Can it be set automatically once the first pack is loaded? A quick look > suggests that use_pack() would be the right place to do it. Maybe add_packed_git()? use_pack() is called by: pack-objects::check_pack_inflate pack-objects::copy_pack_data pack-objects::check_object check_pack_crc verify_pack get_size_from_delta sha1_file::get_delta_base sha1_file::unpack_object_header packed_object_info_detail sha1_file::unpack_compressed_entry some of which would make me worry about thread-safety.