This is version 2, split into multiple commits for easier digestion. Max, I hope that this helps also your use case! Johannes Schindelin (4): Demonstrate a Windows file locking issue with `git clone --dissociate` Consolidate code to close a pack's file descriptor Add a function to release all packs clone --dissociate: avoid locking pack files builtin/clone.c | 4 +++- cache.h | 1 + sha1_file.c | 56 ++++++++++++++++++++++++++++------------------ t/t5700-clone-reference.sh | 21 +++++++++++++++++ 4 files changed, 59 insertions(+), 23 deletions(-) -- 2.5.3.windows.1.3.gc322723 -- 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