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