I revised the testing approach as discussed. Patch 2/3 adds GIT_MMAP_LIMIT, which allows testing of memory expectations together with GIT_ALLOC_LIMIT. The rest is unchanged compared to v2. Steffen Prohaska (3): convert: Refactor would_convert_to_git() to single arg 'path' Introduce GIT_MMAP_LIMIT to allow testing expected mmap size convert: Stream from fd to required clean filter instead of mmap convert.c | 60 +++++++++++++++++++++++++++++++++++++++++++++------ convert.h | 10 ++++++--- sha1_file.c | 46 ++++++++++++++++++++++++++++++++++++--- t/t0021-conversion.sh | 24 ++++++++++++++++----- 4 files changed, 123 insertions(+), 17 deletions(-) -- 2.1.0.6.gb452461 -- 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