Merge branch 'js/clone-dissociate'
commitdb5adf24bf6e0380d4b4ce97f88b4f874773f424
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Oct 2015 22:43:49 +0000 (15 15:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Oct 2015 22:43:49 +0000 (15 15:43 -0700)
tree463ceaa1553402eaab35e2ed4602314a12fd5fcd
parentb80dd559c99ad8afa2d9ec513b18048257547593
parent786b150c8d0960cb7c36fb1cbbf70dbd76b586de
Merge branch 'js/clone-dissociate'

"git clone --dissociate" runs a big "git repack" process at the
end, and it helps to close file descriptors that are open on the
packs and their idx files before doing so on filesystems that
cannot remove a file that is still open.

* js/clone-dissociate:
  clone --dissociate: avoid locking pack files
  sha1_file.c: add a function to release all packs
  sha1_file: consolidate code to close a pack's file descriptor
  t5700: demonstrate a Windows file locking issue with `git clone --dissociate`
builtin/clone.c
cache.h
sha1_file.c
t/t5700-clone-reference.sh