Merge branch 'kg/gc-auto-windows-workaround'
authorJunio C Hamano <gitster@pobox.com>
Thu, 2 Aug 2018 22:30:43 +0000 (15:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Aug 2018 22:30:43 +0000 (15:30 -0700)
commit562413eb2938b7a1aa85a2ae157ef162d51e55dc
treebac6e4f6c15c283289151461c1df420ec7aefdd7
parentae533c4a92aef6ab180441dbb76ef83521fc87d6
parent12e73a3ce46135279cec8fc9ef0068948936e6f8
Merge branch 'kg/gc-auto-windows-workaround'

"git gc --auto" opens file descriptors for the packfiles before
spawning "git repack/prune", which would upset Windows that does
not want a process to work on a file that is open by another
process.  The issue has been worked around.

* kg/gc-auto-windows-workaround:
  gc --auto: release pack files before auto packing
builtin/gc.c
t/t5510-fetch.sh