Re: [PATCH 8/8] Remove pack file handling dependency from wrapper.o

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 06.11.2010 12:52, schrieb Jonathan Nieder:
> Commands that might access a git repository should discard pack
> windows when memory is tight, but helpers like show-index do not need
> to.
> 
> So stop setting try_to_free_pack_memory as the default
> try_to_free_routine and instead set up the try_to_free handler
> explicitly in main() for callers that require it.

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.

René
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]